IAccessibilityEventSource.SendAccessibilityEvent(EventTypes) 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.
Handles the request for sending an AccessibilityEvent
given
the event type.
[Android.Runtime.Register("sendAccessibilityEvent", "(I)V", "GetSendAccessibilityEvent_IHandler:Android.Views.Accessibility.IAccessibilityEventSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SendAccessibilityEvent (Android.Views.Accessibility.EventTypes eventType);
[<Android.Runtime.Register("sendAccessibilityEvent", "(I)V", "GetSendAccessibilityEvent_IHandler:Android.Views.Accessibility.IAccessibilityEventSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SendAccessibilityEvent : Android.Views.Accessibility.EventTypes -> unit
Parameters
- eventType
- EventTypes
The event type.
- Attributes
Remarks
Handles the request for sending an AccessibilityEvent
given the event type. The method must first check if accessibility is on via calling AccessibilityManager#isEnabled() AccessibilityManager.isEnabled()
, obtain an AccessibilityEvent
from the event pool through calling AccessibilityEvent#obtain(int) AccessibilityEvent.obtain(int)
, populate the event, and send it for dispatch via calling AccessibilityManager#sendAccessibilityEvent(AccessibilityEvent) AccessibilityManager.sendAccessibilityEvent(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.