Code example for AccessibilityEvent

Methods: setClassName

0
	} 
 
	@Override 
	@SuppressLint("NewApi") 
	public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
		super.onInitializeAccessibilityEvent(event);
		event.setClassName(SeekBar.class.getName());
	} 
 
	@Override 
	@SuppressLint("NewApi") 
	public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
		super.onInitializeAccessibilityNodeInfo(info);
		info.setClassName(SeekBar.class.getName());
	} 
 
	@Override 
	public void onProgressRefresh(float scale, boolean fromUser) {
		super.onProgressRefresh(scale, fromUser);
		if (mOnSeekBarChangeListener != null) {
			mOnSeekBarChangeListener.onProgressChanged(this, getProgress(),