getChild

Get the child at given index.

Return

The child node.

Parameters

index

The child index.

Throws

If called outside of an AccessibilityService.


@Nullable
open fun getChild(index: Int, prefetchingStrategy: Int): @Nullable AccessibilityNodeInfoCompat(source)

Get the child at given index.

Return

The child node.

Parameters

index

The child index.

prefetchingStrategy

the prefetching strategy.

See also

for a description of prefetching.

Throws