lightbulb_outline Please take our October 2018 developer survey. Start survey
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.