次の方法で共有


View.AccessibilityDelegate.SendAccessibilityEvent(View, EventTypes) Method

Definition

Sends an accessibility event of the given type.

[Android.Runtime.Register("sendAccessibilityEvent", "(Landroid/view/View;I)V", "GetSendAccessibilityEvent_Landroid_view_View_IHandler")]
public virtual void SendAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.EventTypes eventType);
[<Android.Runtime.Register("sendAccessibilityEvent", "(Landroid/view/View;I)V", "GetSendAccessibilityEvent_Landroid_view_View_IHandler")>]
abstract member SendAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.EventTypes -> unit
override this.SendAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.EventTypes -> unit

Parameters

host
View

The View hosting the delegate.

eventType
EventTypes

The type of the event to send.

Attributes

Remarks

Sends an accessibility event of the given type. If accessibility is not enabled this method has no effect.

The default implementation behaves as View#sendAccessibilityEvent(int) View#sendAccessibilityEvent(int) for the case of no accessibility delegate been set.

Java documentation for android.view.View.AccessibilityDelegate.sendAccessibilityEvent(android.view.View, int).

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