UiAutomation.IAccessibilityEventFilter.Accept(AccessibilityEvent) Method

Definition

Callback for determining whether an event is accepted or it is filtered out.

[Android.Runtime.Register("accept", "(Landroid/view/accessibility/AccessibilityEvent;)Z", "GetAccept_Landroid_view_accessibility_AccessibilityEvent_Handler:Android.App.UiAutomation/IAccessibilityEventFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Accept (Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("accept", "(Landroid/view/accessibility/AccessibilityEvent;)Z", "GetAccept_Landroid_view_accessibility_AccessibilityEvent_Handler:Android.App.UiAutomation/IAccessibilityEventFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Accept : Android.Views.Accessibility.AccessibilityEvent -> bool

Parameters

e
AccessibilityEvent

The event to process.

Returns

True if the event is accepted, false to filter it out.

Attributes

Remarks

Callback for determining whether an event is accepted or it is filtered out.

Java documentation for android.app.UiAutomation.AccessibilityEventFilter.accept(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