UiAutomation.IOnAccessibilityEventListener.OnAccessibilityEvent Method

Definition

Callback for receiving an AccessibilityEvent.

[Android.Runtime.Register("onAccessibilityEvent", "(Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnAccessibilityEvent_Landroid_view_accessibility_AccessibilityEvent_Handler:Android.App.UiAutomation/IOnAccessibilityEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnAccessibilityEvent (Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("onAccessibilityEvent", "(Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnAccessibilityEvent_Landroid_view_accessibility_AccessibilityEvent_Handler:Android.App.UiAutomation/IOnAccessibilityEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnAccessibilityEvent : Android.Views.Accessibility.AccessibilityEvent -> unit

Parameters

e
AccessibilityEvent

The received event.

Attributes

Remarks

Callback for receiving an AccessibilityEvent.

<strong>Note:</strong> This method is <strong>NOT</strong> executed on the main test thread. The client is responsible for proper synchronization.

<strong>Note:</strong> It is responsibility of the client to recycle the received events to minimize object creation.

Java documentation for android.app.UiAutomation.OnAccessibilityEventListener.onAccessibilityEvent(android.view.accessibility.AccessibilityEvent).

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