Skip to content

Most visited

Recently visited

navigation
Added in API level 4

android.accessibilityservice

The classes in this package are used for development of accessibility service that provide alternative or augmented feedback to the user.

An AccessibilityService runs in the background and receives callbacks by the system when AccessibilityEvents are fired. Such events denote some state transition in the user interface, for example, the focus has changed, a button has been clicked, etc. Such a service can optionally request the capability for querying the content of the active window. Development of an accessibility service requires extends this class and implements its abstract methods.

An AccessibilityServiceInfo describes an AccessibilityService. The system notifies an AccessibilityService for AccessibilityEvents according to the information encapsulated in this class.

Interfaces

AccessibilityService.MagnificationController.OnMagnificationChangedListener Listener for changes in the state of magnification. 
AccessibilityService.SoftKeyboardController.OnShowModeChangedListener Listener for changes in the soft keyboard show mode. 

Classes

AccessibilityService Accessibility services should only be used to assist users with disabilities in using Android devices and apps. 
AccessibilityService.GestureResultCallback Class used to report status of dispatched gestures  
AccessibilityService.MagnificationController Used to control and query the state of display magnification. 
AccessibilityService.SoftKeyboardController Used to control and query the soft keyboard show mode. 
AccessibilityServiceInfo This class describes an AccessibilityService
GestureDescription Accessibility services with the AccessibilityService_canPerformGestures property can dispatch gestures. 
GestureDescription.Builder Builder for a GestureDescription  
GestureDescription.StrokeDescription Immutable description of stroke that can be part of a gesture. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.