|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.support.v4.view.accessibility.AccessibilityManagerCompat
public class AccessibilityManagerCompat
Helper for accessing features in AccessibilityManager
introduced after API level 4 in a backwards compatible fashion.
Nested Class Summary | |
---|---|
static class |
AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat
Listener for the accessibility state. |
Constructor Summary | |
---|---|
AccessibilityManagerCompat()
|
Method Summary | |
---|---|
static boolean |
addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager,
AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
Registers an AccessibilityManager.AccessibilityStateChangeListener for changes in
the global accessibility state of the system. |
static List<android.accessibilityservice.AccessibilityServiceInfo> |
getEnabledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager,
int feedbackTypeFlags)
Returns the AccessibilityServiceInfo s of the enabled accessibility services
for a given feedback type. |
static List<android.accessibilityservice.AccessibilityServiceInfo> |
getInstalledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager)
Returns the AccessibilityServiceInfo s of the installed accessibility services. |
static boolean |
isTouchExplorationEnabled(android.view.accessibility.AccessibilityManager manager)
Returns if the touch exploration in the system is enabled. |
static boolean |
removeAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager,
AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
Unregisters an AccessibilityManager.AccessibilityStateChangeListener . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessibilityManagerCompat()
Method Detail |
---|
public static boolean addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
AccessibilityManager.AccessibilityStateChangeListener
for changes in
the global accessibility state of the system.
manager
- The accessibility manager.listener
- The listener.
public static boolean removeAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat listener)
AccessibilityManager.AccessibilityStateChangeListener
.
manager
- The accessibility manager.listener
- The listener.
public static List<android.accessibilityservice.AccessibilityServiceInfo> getInstalledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager)
AccessibilityServiceInfo
s of the installed accessibility services.
manager
- The accessibility manager.
AccessibilityServiceInfo
s.public static List<android.accessibilityservice.AccessibilityServiceInfo> getEnabledAccessibilityServiceList(android.view.accessibility.AccessibilityManager manager, int feedbackTypeFlags)
AccessibilityServiceInfo
s of the enabled accessibility services
for a given feedback type.
manager
- The accessibility manager.feedbackTypeFlags
- The feedback type flags.
AccessibilityServiceInfo
s.AccessibilityServiceInfo.FEEDBACK_AUDIBLE
,
AccessibilityServiceInfo.FEEDBACK_GENERIC
,
AccessibilityServiceInfo.FEEDBACK_HAPTIC
,
AccessibilityServiceInfo.FEEDBACK_SPOKEN
,
AccessibilityServiceInfo.FEEDBACK_VISUAL
public static boolean isTouchExplorationEnabled(android.view.accessibility.AccessibilityManager manager)
manager
- The accessibility manager.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |