共用方式為


View.AccessibilityNodeProvider Property

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.

public virtual Android.Views.Accessibility.AccessibilityNodeProvider? AccessibilityNodeProvider { [Android.Runtime.Register("getAccessibilityNodeProvider", "()Landroid/view/accessibility/AccessibilityNodeProvider;", "GetGetAccessibilityNodeProviderHandler")] get; }
[<get: Android.Runtime.Register("getAccessibilityNodeProvider", "()Landroid/view/accessibility/AccessibilityNodeProvider;", "GetGetAccessibilityNodeProviderHandler")>]
member this.AccessibilityNodeProvider : Android.Views.Accessibility.AccessibilityNodeProvider

Property Value

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.

If this method returns an instance, this instance is responsible for managing AccessibilityNodeInfos describing the virtual sub-tree rooted at this View including the one representing the View itself. Similarly the returned instance is responsible for performing accessibility actions on any virtual view or the root view itself.

If an AccessibilityDelegate has been specified via calling #setAccessibilityDelegate(AccessibilityDelegate) its AccessibilityDelegate#getAccessibilityNodeProvider(View) is responsible for handling this call.

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

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