extract

Recursively extracts all nodes from the tree rooted at rootNode. Returns a flat list in depth-first order.

Return

Flattened accessibility nodes.

Parameters

rootNode

Root semantics node to walk.


Entry point for production use. Requires opting in to the internal Compose UI API needed to access SemanticsOwner.

Return

Flattened accessibility nodes.

Parameters

owner

Semantics owner to extract from.