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 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 AccessibilityServiceInfos 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 AccessibilityServiceInfos of the installed accessibility services.

Parameters
manager The accessibility manager.
Returns

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

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