getRoot

Gets the root node in the window's hierarchy.

Return

The root node.


open fun getRoot(prefetchingStrategy: Int): AccessibilityNodeInfoCompat(source)

Gets the root node in the window's hierarchy.

Return

The root node.

Parameters

prefetchingStrategy

the prefetching strategy.

See also

for a description of prefetching.