Skip to content

Most visited

Recently visited

Added in API level 18


public static interface UiAutomation.OnAccessibilityEventListener

Listener for observing the AccessibilityEvent stream.


Public methods

abstract void onAccessibilityEvent(AccessibilityEvent event)

Callback for receiving an AccessibilityEvent.

Public methods


Added in API level 18
void onAccessibilityEvent (AccessibilityEvent event)

Callback for receiving an AccessibilityEvent.

Note: This method is NOT executed on the main test thread. The client is responsible for proper synchronization.

Note: It is responsibility of the client to recycle the received events to minimize object creation.

event AccessibilityEvent: The received event.
This site uses cookies to store your preferences for site-specific language and display options.


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.