{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SemanticsOwner


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

Summary

Public properties

SemanticsNode

The root node of the semantics tree.

Cmn
SemanticsNode
Cmn

Extension functions

List<SemanticsNode>

Finds all SemanticsNodes in the tree owned by this SemanticsOwner.

Cmn

Public properties

rootSemanticsNode

val rootSemanticsNodeSemanticsNode

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

unmergedRootSemanticsNode

val unmergedRootSemanticsNodeSemanticsNode

Extension functions

getAllSemanticsNodes

fun SemanticsOwner.getAllSemanticsNodes(mergingEnabled: Boolean): List<SemanticsNode>

Finds all SemanticsNodes in the tree owned by this SemanticsOwner. Return the results in a list.