SemanticsEntry

data class SemanticsEntry(val bounds: IntRect, val semantics: Semantics)(source)

An immutable flattened semantics entry with retained unresolved text.

Entries are returned in parent-before-child and local emission order. Their bounds combine the cached local payload with the current accumulated tree coordinates. The SemanticsEntry.semantics payload remains unresolved for the platform adapter.

Constructors

Link copied to clipboard
constructor(bounds: IntRect, semantics: Semantics)
constructor(bounds: IntRect, semantics: Semantics, owner: SemanticsOwner)

Constructs one detached native snapshot, initializing metadata only during construction.

Properties

Link copied to clipboard

the node's accumulated bounds in tree coordinates.

Link copied to clipboard

Detached native metadata supplied by session frames; direct tree semantics omit it. Logical equality, destructuring and copy retain their bounds/payload contract across backends. A logical copy omits ownership because changed payload or geometry cannot reuse native placement.

Link copied to clipboard

the unresolved semantics payload.