UiAutomation.IAccessibilityEventFilter.Accept(AccessibilityEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.