Condividi tramite


View.AccessibilityDelegate.GetAccessibilityNodeProvider(View) Method

Definition

Gets the provider for managing a virtual view hierarchy rooted at this View and reported to android.accessibilityservice.AccessibilityServices that explore the window content.

[Android.Runtime.Register("getAccessibilityNodeProvider", "(Landroid/view/View;)Landroid/view/accessibility/AccessibilityNodeProvider;", "GetGetAccessibilityNodeProvider_Landroid_view_View_Handler")]
public virtual Android.Views.Accessibility.AccessibilityNodeProvider? GetAccessibilityNodeProvider (Android.Views.View host);
[<Android.Runtime.Register("getAccessibilityNodeProvider", "(Landroid/view/View;)Landroid/view/accessibility/AccessibilityNodeProvider;", "GetGetAccessibilityNodeProvider_Landroid_view_View_Handler")>]
abstract member GetAccessibilityNodeProvider : Android.Views.View -> Android.Views.Accessibility.AccessibilityNodeProvider
override this.GetAccessibilityNodeProvider : Android.Views.View -> Android.Views.Accessibility.AccessibilityNodeProvider

Parameters

host
View

Returns

The provider.

Attributes

Remarks

Gets the provider for managing a virtual view hierarchy rooted at this View and reported to android.accessibilityservice.AccessibilityServices that explore the window content.

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

Java documentation for android.view.View.AccessibilityDelegate.getAccessibilityNodeProvider(android.view.View).

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