getParent
Gets the parent.
Return
The parent.
Gets the parent.
Use prefetchingStrategy
to determine the types of nodes prefetched from the app if the requested node is not in the cache and must be retrieved by the app. The default strategy for getParent is a combination of ancestor and sibling strategies. The app will prefetch until all nodes fulfilling the strategies are fetched, another node request is sent, or the maximum prefetch batch size of MAX_NUMBER_OF_PREFETCHED_NODES nodes is reached. To prevent interruption by another request and to force prefetching of the max batch size, use FLAG_PREFETCH_UNINTERRUPTIBLE.
Return
The parent.
Parameters
prefetchingStrategy
the prefetching strategy.
See also
Throws
If called outside of an AccessibilityService and before calling setQueryFromAppProcessEnabled.