Udostępnij za pośrednictwem


AccessibilityManager.SendAccessibilityEvent(AccessibilityEvent) Method

Definition

Sends an AccessibilityEvent.

[Android.Runtime.Register("sendAccessibilityEvent", "(Landroid/view/accessibility/AccessibilityEvent;)V", "")]
public void SendAccessibilityEvent (Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("sendAccessibilityEvent", "(Landroid/view/accessibility/AccessibilityEvent;)V", "")>]
member this.SendAccessibilityEvent : Android.Views.Accessibility.AccessibilityEvent -> unit

Parameters

e
AccessibilityEvent

The event to send.

Attributes

Exceptions

if accessibility is not enabled.

Note: The preferred mechanism for sending custom accessibility events is through calling RequestSendAccessibilityEvent(View, AccessibilityEvent) instead of this method to allow predecessors to augment/filter events sent by their descendants.

Remarks

Sends an AccessibilityEvent.

Java documentation for android.view.accessibility.AccessibilityManager.sendAccessibilityEvent(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