Added in API level 18

UiAutomation.OnAccessibilityEventListener


public static interface UiAutomation.OnAccessibilityEventListener

android.app.UiAutomation.OnAccessibilityEventListener


Listener for observing the AccessibilityEvent stream.

Summary

Public methods

abstract void onAccessibilityEvent(AccessibilityEvent event)

Callback for receiving an AccessibilityEvent.

Public methods

onAccessibilityEvent

Added in API level 18
public abstract 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.

Parameters
event AccessibilityEvent: The received event.