Condividi tramite


View.AccessibilityDelegate.OnInitializeAccessibilityEvent Method

Definition

Initializes an AccessibilityEvent with information about the the host View which is the event source.

[Android.Runtime.Register("onInitializeAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnInitializeAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual void OnInitializeAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.AccessibilityEvent e);
[<Android.Runtime.Register("onInitializeAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnInitializeAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member OnInitializeAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit
override this.OnInitializeAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit

Parameters

host
View

The View hosting the delegate.

e
AccessibilityEvent

The event to initialize.

Attributes

Remarks

Initializes an AccessibilityEvent with information about the the host View which is the event source.

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

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