Android APIs
Added in API level 18
public static interface

UiAutomation.OnAccessibilityEventListener

android.app.UiAutomation.OnAccessibilityEventListener

Class Overview

Listener for observing the AccessibilityEvent stream.

Summary

Public Methods
abstract void onAccessibilityEvent(AccessibilityEvent event)
Callback for receiving an AccessibilityEvent.

Public Methods

public abstract void onAccessibilityEvent (AccessibilityEvent event)

Added in API level 18

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.