belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
AccessibilityManagerCompat
public
final
class
AccessibilityManagerCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.accessibility.AccessibilityManagerCompat |
Helper for accessing features in AccessibilityManager
.
Summary
Nested classes | |
---|---|
interface |
AccessibilityManagerCompat.AccessibilityStateChangeListener
This interface was deprecated
in API level 26.1.0.
Use |
class |
AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat
This class was deprecated
in API level 25.1.0.
Use |
interface |
AccessibilityManagerCompat.TouchExplorationStateChangeListener
Listener for the system touch exploration state. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public methods
addAccessibilityStateChangeListener
boolean addAccessibilityStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListener listener)
This method was deprecated
in API level 26.1.0.
Use addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener)
directly.
Registers an AccessibilityManager.AccessibilityStateChangeListener
for changes in
the global accessibility state of the system.
Parameters | |
---|---|
manager |
AccessibilityManager : The accessibility manager. |
listener |
AccessibilityManagerCompat.AccessibilityStateChangeListener : The listener. |
Returns | |
---|---|
boolean |
True if successfully registered. |
addTouchExplorationStateChangeListener
boolean addTouchExplorationStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.TouchExplorationStateChangeListener listener)
Registers a AccessibilityManagerCompat.TouchExplorationStateChangeListener
for changes in
the global touch exploration state of the system.
Parameters | |
---|---|
manager |
AccessibilityManager |
listener |
AccessibilityManagerCompat.TouchExplorationStateChangeListener : The listener. |
Returns | |
---|---|
boolean |
True if successfully registered. |
getEnabledAccessibilityServiceList
List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList (AccessibilityManager manager, int feedbackTypeFlags)
This method was deprecated
in API level 26.1.0.
Use getEnabledAccessibilityServiceList(int)
directly.
Returns the AccessibilityServiceInfo
s of the enabled accessibility services
for a given feedback type.
Parameters | |
---|---|
manager |
AccessibilityManager : The accessibility manager. |
feedbackTypeFlags |
int : The feedback type flags. |
Returns | |
---|---|
List<AccessibilityServiceInfo> |
An unmodifiable list with AccessibilityServiceInfo s. |
getInstalledAccessibilityServiceList
List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList (AccessibilityManager manager)
This method was deprecated
in API level 26.1.0.
Use getInstalledAccessibilityServiceList()
directly.
Returns the AccessibilityServiceInfo
s of the installed accessibility services.
Parameters | |
---|---|
manager |
AccessibilityManager : The accessibility manager. |
Returns | |
---|---|
List<AccessibilityServiceInfo> |
An unmodifiable list with AccessibilityServiceInfo s. |
isTouchExplorationEnabled
boolean isTouchExplorationEnabled (AccessibilityManager manager)
This method was deprecated
in API level 26.1.0.
Use isTouchExplorationEnabled()
directly.
Returns if the touch exploration in the system is enabled.
Parameters | |
---|---|
manager |
AccessibilityManager : The accessibility manager. |
Returns | |
---|---|
boolean |
True if touch exploration is enabled, false otherwise. |
removeAccessibilityStateChangeListener
boolean removeAccessibilityStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.AccessibilityStateChangeListener listener)
This method was deprecated
in API level 26.1.0.
Use removeAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener)
directly.
Unregisters an AccessibilityManager.AccessibilityStateChangeListener
.
Parameters | |
---|---|
manager |
AccessibilityManager : The accessibility manager. |
listener |
AccessibilityManagerCompat.AccessibilityStateChangeListener : The listener. |
Returns | |
---|---|
boolean |
True if successfully unregistered. |
removeTouchExplorationStateChangeListener
boolean removeTouchExplorationStateChangeListener (AccessibilityManager manager, AccessibilityManagerCompat.TouchExplorationStateChangeListener listener)
Unregisters a AccessibilityManagerCompat.TouchExplorationStateChangeListener
.
Parameters | |
---|---|
manager |
AccessibilityManager |
listener |
AccessibilityManagerCompat.TouchExplorationStateChangeListener : The listener. |
Returns | |
---|---|
boolean |
True if successfully unregistered. |
Interfaces
Classes
- AccessibilityEventCompat
- AccessibilityManagerCompat
- AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat
- AccessibilityNodeInfoCompat
- AccessibilityNodeInfoCompat.AccessibilityActionCompat
- AccessibilityNodeInfoCompat.CollectionInfoCompat
- AccessibilityNodeInfoCompat.CollectionItemInfoCompat
- AccessibilityNodeInfoCompat.RangeInfoCompat
- AccessibilityNodeProviderCompat
- AccessibilityRecordCompat
- AccessibilityWindowInfoCompat
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.