Compartilhar via


AccessibilityWindowInfo.GetRoot(Int32) Method

Definition

Gets the root node in the window's hierarchy.

[Android.Runtime.Register("getRoot", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "", ApiSince=33)]
public Android.Views.Accessibility.AccessibilityNodeInfo? GetRoot (int prefetchingStrategy);
[<Android.Runtime.Register("getRoot", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "", ApiSince=33)>]
member this.GetRoot : int -> Android.Views.Accessibility.AccessibilityNodeInfo

Parameters

prefetchingStrategy
Int32

the prefetching strategy.

Returns

The root node.

Attributes

Remarks

Gets the root node in the window's hierarchy.

Java documentation for android.view.accessibility.AccessibilityWindowInfo.getRoot(int).

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