Google is committed to advancing racial equity for Black communities. See how.

SemanticsOwner

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

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

Summary

Public constructors
<init>(rootNode: LayoutNode)

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

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

Finds all SemanticsNodes in the tree owned by this SemanticsOwner.

Properties
LayoutNode

SemanticsNode

The root node of the semantics tree.

SemanticsNode

Public constructors

<init>

SemanticsOwner(rootNode: LayoutNode)

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

Properties

rootNode

val rootNode: LayoutNode

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