共用方式為


UiAutomation.SetOnAccessibilityEventListener Method

Definition

Sets a callback for observing the stream of AccessibilityEvents.

[Android.Runtime.Register("setOnAccessibilityEventListener", "(Landroid/app/UiAutomation$OnAccessibilityEventListener;)V", "")]
public void SetOnAccessibilityEventListener (Android.App.UiAutomation.IOnAccessibilityEventListener? listener);
[<Android.Runtime.Register("setOnAccessibilityEventListener", "(Landroid/app/UiAutomation$OnAccessibilityEventListener;)V", "")>]
member this.SetOnAccessibilityEventListener : Android.App.UiAutomation.IOnAccessibilityEventListener -> unit

Parameters

Attributes

Remarks

Java documentation for android.app.UiAutomation.setOnAccessibilityEventListener(android.app.OnAccessibilityEventListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to