Android APIs
public class

AccessibilityManagerCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.accessibility.AccessibilityManagerCompat

Class Overview

Helper for accessing features in AccessibilityManager introduced after API level 4 in a backwards compatible fashion.

Summary

Nested Classes
class AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat Listener for the accessibility state. 
Public Constructors
AccessibilityManagerCompat()
Public Methods
static boolean addAccessibilityStateChangeListener(AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
Registers an AccessibilityManager.AccessibilityStateChangeListener for changes in the global accessibility state of the system.
static List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(AccessibilityManager manager, int feedbackTypeFlags)
Returns the AccessibilityServiceInfos of the enabled accessibility services for a given feedback type.
static List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(AccessibilityManager manager)
Returns the AccessibilityServiceInfos of the installed accessibility services.
static boolean isTouchExplorationEnabled(AccessibilityManager manager)
Returns if the touch exploration in the system is enabled.
static boolean removeAccessibilityStateChangeListener(AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AccessibilityManagerCompat ()

Public Methods

public static boolean addAccessibilityStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)

Registers an AccessibilityManager.AccessibilityStateChangeListener for changes in the global accessibility state of the system.

Parameters
manager The accessibility manager.
listener The listener.
Returns
boolean True if successfully registered.

public static List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList (AccessibilityManager manager, int feedbackTypeFlags)

Returns the AccessibilityServiceInfos of the enabled accessibility services for a given feedback type.

Parameters
manager The accessibility manager.
feedbackTypeFlags The feedback type flags.
Returns
List<AccessibilityServiceInfo> An unmodifiable list with AccessibilityServiceInfos.

public static List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList (AccessibilityManager manager)

Returns the AccessibilityServiceInfos of the installed accessibility services.

Parameters
manager The accessibility manager.
Returns
List<AccessibilityServiceInfo> An unmodifiable list with AccessibilityServiceInfos.

public static boolean isTouchExplorationEnabled (AccessibilityManager manager)

Returns if the touch exploration in the system is enabled.

Parameters
manager The accessibility manager.
Returns
boolean True if touch exploration is enabled, false otherwise.

public static boolean removeAccessibilityStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)

Unregisters an AccessibilityManager.AccessibilityStateChangeListener.

Parameters
manager The accessibility manager.
listener The listener.
Returns
boolean True if successfully unregistered.