共用方式為


View.SendAccessibilityEventUnchecked(AccessibilityEvent) Method

Definition

This method behaves exactly as #sendAccessibilityEvent(int) but takes as an argument an empty AccessibilityEvent and does not perform a check whether accessibility is enabled.

[Android.Runtime.Register("sendAccessibilityEventUnchecked", "(Landroid/view/accessibility/AccessibilityEvent;)V", "GetSendAccessibilityEventUnchecked_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual void SendAccessibilityEventUnchecked (Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("sendAccessibilityEventUnchecked", "(Landroid/view/accessibility/AccessibilityEvent;)V", "GetSendAccessibilityEventUnchecked_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member SendAccessibilityEventUnchecked : Android.Views.Accessibility.AccessibilityEvent -> unit
override this.SendAccessibilityEventUnchecked : Android.Views.Accessibility.AccessibilityEvent -> unit

Parameters

e
AccessibilityEvent

The event to send.

Implements

Attributes

Remarks

This method behaves exactly as #sendAccessibilityEvent(int) but takes as an argument an empty AccessibilityEvent and does not perform a check whether accessibility is enabled.

If an AccessibilityDelegate has been specified via calling #setAccessibilityDelegate(AccessibilityDelegate) its AccessibilityDelegate#sendAccessibilityEventUnchecked(View, AccessibilityEvent) is responsible for handling this call.

Java documentation for android.view.View.sendAccessibilityEventUnchecked(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

See also