public static interface UiAutomation.OnAccessibilityEventListener
AccessibilityEvent
stream.Modifier and Type | Method and Description |
---|---|
void |
onAccessibilityEvent(AccessibilityEvent event)
Callback for receiving an
AccessibilityEvent . |
void onAccessibilityEvent(AccessibilityEvent event)
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
- The received event.