Added in API level 18

AccessibilityEventFilter


interface AccessibilityEventFilter
android.app.UiAutomation.AccessibilityEventFilter

Listener for filtering accessibility events.

Summary

Public methods
abstract Boolean

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

Public methods

accept

Added in API level 18
abstract fun accept(event: AccessibilityEvent!): Boolean

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

Parameters
event AccessibilityEvent!: The event to process.
Return
Boolean True if the event is accepted, false to filter it out.