Added in API level 18

UiAutomation.AccessibilityEventFilter


public static interface UiAutomation.AccessibilityEventFilter

android.app.UiAutomation.AccessibilityEventFilter


Listener for filtering accessibility events.

Summary

Public methods

abstract boolean accept(AccessibilityEvent event)

Callback for determining whether an event is accepted or it is filtered out.

Public methods

accept

Added in API level 18
public abstract boolean accept (AccessibilityEvent event)

Callback for determining whether an event is accepted or it is filtered out.

Parameters
event AccessibilityEvent: The event to process.

Returns
boolean True if the event is accepted, false to filter it out.