Most visited

Recently visited

Added in API level 18

UiAutomation.OnAccessibilityEventListener

public static interface UiAutomation.OnAccessibilityEventListener

android.app.UiAutomation.OnAccessibilityEventListener


听众观察 AccessibilityEvent流。

Summary

Public methods

abstract void onAccessibilityEvent(AccessibilityEvent event)

回调接收 AccessibilityEvent

Public methods

onAccessibilityEvent

Added in API level 18
void onAccessibilityEvent (AccessibilityEvent event)

回调接收 AccessibilityEvent

注意:此方法不在主测试线程上执行。 客户负责正确的同步。

注意:客户端有责任回收接收到的事件以尽量减少创建对象。

Parameters
event AccessibilityEvent: The received event.

Hooray!