View.AccessibilityDelegate.OnPopulateAccessibilityEvent Method

Definition

Gives a chance to the host View to populate the accessibility event with its text content.

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

Parameters

host
View

The View hosting the delegate.

e
AccessibilityEvent

The accessibility event which to populate.

Attributes

Remarks

Gives a chance to the host View to populate the accessibility event with its text content.

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

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