public static interface UiAutomation.AccessibilityEventFilter
android.app.UiAutomation.AccessibilityEventFilter |
监听器用于过滤可访问性事件。
Public methods |
|
---|---|
abstract boolean |
accept(AccessibilityEvent event) 确定事件是被接受还是被过滤掉的回调。 |
boolean accept (AccessibilityEvent event)
确定事件是被接受还是被过滤掉的回调。
Parameters | |
---|---|
event |
AccessibilityEvent : The event to process. |
Returns | |
---|---|
boolean |
True if the event is accepted, false to filter it out. |