Most visited

Recently visited

Added in API level 18

UiAutomation.AccessibilityEventFilter

public static interface UiAutomation.AccessibilityEventFilter

android.app.UiAutomation.AccessibilityEventFilter


监听器用于过滤可访问性事件。

Summary

Public methods

abstract boolean accept(AccessibilityEvent event)

确定事件是被接受还是被过滤掉的回调。

Public methods

accept

Added in API level 18
boolean accept (AccessibilityEvent event)

确定事件是被接受还是被过滤掉的回调。

Parameters
event AccessibilityEvent: The event to process.
Returns
boolean True if the event is accepted, false to filter it out.

Hooray!