Share via


View.AccessibilityDelegate.DispatchPopulateAccessibilityEvent Method

Definition

Dispatches an AccessibilityEvent to the host View first and then to its children for adding their text content to the event.

[Android.Runtime.Register("dispatchPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetDispatchPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual bool DispatchPopulateAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.AccessibilityEvent e);
[<Android.Runtime.Register("dispatchPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetDispatchPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member DispatchPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool
override this.DispatchPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool

Parameters

host
View

The View hosting the delegate.

e
AccessibilityEvent

The event.

Returns

True if the event population was completed.

Attributes

Remarks

Dispatches an AccessibilityEvent to the host View first and then to its children for adding their text content to the event.

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

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