Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 AccessibilityServiceInfo s of the enabled accessibility services for a given feedback type.
static List < AccessibilityServiceInfo > getInstalledAccessibilityServiceList ( AccessibilityManager manager)
Returns the AccessibilityServiceInfo s 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
  • True if successfully registered.

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

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

Parameters
manager The accessibility manager.
feedbackTypeFlags The feedback type flags.
Returns

public static List < AccessibilityServiceInfo > getInstalledAccessibilityServiceList ( AccessibilityManager manager)

Returns the AccessibilityServiceInfo s of the installed accessibility services.

Parameters
manager The accessibility manager.
Returns

public static boolean isTouchExplorationEnabled ( AccessibilityManager manager)

Returns if the touch exploration in the system is enabled.

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

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

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