Class

SemanticsOwner

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

Source set: Common
public class SemanticsOwner internal constructor(
    private val rootNode: LayoutNode,
    private val outerSemanticsNode: EmptySemanticsModifier,
    private val nodes: IntObjectMap<LayoutNode>,
)

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

Properties

rootSemanticsNode

Source set: Common
public val rootSemanticsNode: SemanticsNode

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

unmergedRootSemanticsNode

Source set: Common
public val unmergedRootSemanticsNode: SemanticsNode
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: