AccessibilityManagerCompat
Helper for accessing features in AccessibilityManager.
Types
Link copied to clipboard
interface AccessibilityStateChangeListener
Listener for the accessibility state.
Link copied to clipboard
abstract class AccessibilityStateChangeListenerCompat : AccessibilityManagerCompat.AccessibilityStateChangeListener
Listener for the accessibility state.
Link copied to clipboard
interface TouchExplorationStateChangeListener
Listener for the system touch exploration state.
Functions
Link copied to clipboard
open fun addAccessibilityStateChangeListener(manager: AccessibilityManager, listener: AccessibilityManagerCompat.AccessibilityStateChangeListener): Boolean
Registers an AccessibilityManager.AccessibilityStateChangeListener for changes in the global accessibility state of the system.
Link copied to clipboard
open fun addTouchExplorationStateChangeListener(@NonNull manager: AccessibilityManager, @NonNull listener: AccessibilityManagerCompat.TouchExplorationStateChangeListener): Boolean
Registers a TouchExplorationStateChangeListener for changes in the global touch exploration state of the system.
Link copied to clipboard
open fun getEnabledAccessibilityServiceList(manager: AccessibilityManager, feedbackTypeFlags: Int): List<AccessibilityServiceInfo>
Returns the AccessibilityServiceInfos of the enabled accessibility services for a given feedback type.
Link copied to clipboard
open fun getInstalledAccessibilityServiceList(manager: AccessibilityManager): List<AccessibilityServiceInfo>
Returns the AccessibilityServiceInfos of the installed accessibility services.
Link copied to clipboard
Whether the current accessibility request comes from an android.accessibilityservice.AccessibilityService with the isAccessibilityTool property set to true.
Link copied to clipboard
Returns if the touch exploration in the system is enabled.
Link copied to clipboard
open fun removeAccessibilityStateChangeListener(manager: AccessibilityManager, listener: AccessibilityManagerCompat.AccessibilityStateChangeListener): Boolean
Unregisters an AccessibilityManager.AccessibilityStateChangeListener.
Link copied to clipboard
open fun removeTouchExplorationStateChangeListener(@NonNull manager: AccessibilityManager, @NonNull listener: AccessibilityManagerCompat.TouchExplorationStateChangeListener): Boolean
Unregisters a TouchExplorationStateChangeListener.