FileDocCategorySizeDatePackage
AccessibilityManagerCompat.javaAPI DocAndroid 5.1 API8697Thu Mar 12 22:22:56 GMT 2015android.support.v4.view.accessibility

AccessibilityManagerCompat

public class AccessibilityManagerCompat extends Object
Helper for accessing features in {@link AccessibilityManager} introduced after API level 4 in a backwards compatible fashion.

Fields Summary
private static final AccessibilityManagerVersionImpl
IMPL
Constructors Summary
Methods Summary
public static booleanaddAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager, android.support.v4.view.accessibility.AccessibilityManagerCompat$AccessibilityStateChangeListenerCompat listener)
Registers an {@link AccessibilityManager.AccessibilityStateChangeListener} for changes in the global accessibility state of the system.

param
manager The accessibility manager.
param
listener The listener.
return
True if successfully registered.

        return IMPL.addAccessibilityStateChangeListener(manager, listener);
    
public static java.util.ListgetEnabledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager, int feedbackTypeFlags)
Returns the {@link AccessibilityServiceInfo}s of the enabled accessibility services for a given feedback type.

param
manager The accessibility manager.
param
feedbackTypeFlags The feedback type flags.
return
An unmodifiable list with {@link AccessibilityServiceInfo}s.
see
AccessibilityServiceInfo#FEEDBACK_AUDIBLE
see
AccessibilityServiceInfo#FEEDBACK_GENERIC
see
AccessibilityServiceInfo#FEEDBACK_HAPTIC
see
AccessibilityServiceInfo#FEEDBACK_SPOKEN
see
AccessibilityServiceInfo#FEEDBACK_VISUAL

        return IMPL.getEnabledAccessibilityServiceList(manager, feedbackTypeFlags);
    
public static java.util.ListgetInstalledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager)
Returns the {@link AccessibilityServiceInfo}s of the installed accessibility services.

param
manager The accessibility manager.
return
An unmodifiable list with {@link AccessibilityServiceInfo}s.

        return IMPL.getInstalledAccessibilityServiceList(manager);
    
public static booleanisTouchExplorationEnabled(android.view.accessibility.AccessibilityManager manager)
Returns if the touch exploration in the system is enabled.

param
manager The accessibility manager.
return
True if touch exploration is enabled, false otherwise.

        return IMPL.isTouchExplorationEnabled(manager);
    
public static booleanremoveAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager, android.support.v4.view.accessibility.AccessibilityManagerCompat$AccessibilityStateChangeListenerCompat listener)
Unregisters an {@link AccessibilityManager.AccessibilityStateChangeListener}.

param
manager The accessibility manager.
param
listener The listener.
return
True if successfully unregistered.

        return IMPL.removeAccessibilityStateChangeListener(manager, listener);