UiAutomation.IOnAccessibilityEventListener.OnAccessibilityEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.