Android 12 Developer Preview is here! Try it out, and give us your feedback!

SemanticsOwner

class SemanticsOwner
kotlin.Any
   ↳ androidx.compose.ui.semantics.SemanticsOwner

Owns SemanticsNode objects and notifies listeners of changes to the semantics tree

Summary

Extension functions
From androidx.compose.ui.semantics
List<SemanticsNode>

Finds all SemanticsNodes in the tree owned by this SemanticsOwner.

Properties
SemanticsNode

The root node of the semantics tree.

SemanticsNode

Properties

rootSemanticsNode

val rootSemanticsNode: SemanticsNode

The root node of the semantics tree. Does not contain any unmerged data. May contain merged data.

unmergedRootSemanticsNode

val unmergedRootSemanticsNode: SemanticsNode