Share via


ViewGroup.OnRequestSendAccessibilityEvent(View, AccessibilityEvent) Method

Definition

Called when a child has requested sending an AccessibilityEvent and gives an opportunity to its parent to augment the event.

[Android.Runtime.Register("onRequestSendAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetOnRequestSendAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual bool OnRequestSendAccessibilityEvent (Android.Views.View? child, Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("onRequestSendAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetOnRequestSendAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member OnRequestSendAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool
override this.OnRequestSendAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool

Parameters

child
View

The child which requests sending the event.

e
AccessibilityEvent

The event to be sent.

Returns

True if the event should be sent.

Attributes

Remarks

Called when a child has requested sending an AccessibilityEvent and gives an opportunity to its parent to augment the event.

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

Java documentation for android.view.ViewGroup.onRequestSendAccessibilityEvent(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

  • <xref:Android.Views.ViewGroup.RequestSendAccessibilityEvent(Android.Views.View%2c+Android.Views.Accessibility.AccessibilityEvent)>