public static Object newAccessibilityStateChangeListener(final AccessibilityStateChangeListenerBridge bridge) { return new AccessibilityStateChangeListener() { public void onAccessibilityStateChanged(boolean enabled) { bridge.onAccessibilityStateChanged(enabled); } }; }
public static Object newAccessibilityStateChangeListener( final AccessibilityStateChangeListenerBridge bridge) { return new AccessibilityStateChangeListener() { @Override public void onAccessibilityStateChanged(boolean enabled) { bridge.onAccessibilityStateChanged(enabled); } }; }
public static boolean addAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) { return manager.addAccessibilityStateChangeListener((AccessibilityStateChangeListener) listener); }
public static boolean removeAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) { return manager.removeAccessibilityStateChangeListener((AccessibilityStateChangeListener) listener); }
public static boolean addAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) { return manager.addAccessibilityStateChangeListener( (AccessibilityStateChangeListener)listener); }
public static boolean removeAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) { return manager.removeAccessibilityStateChangeListener( (AccessibilityStateChangeListener)listener); }