SemanticsRole

A value-typed semantics role model.

Unknown application-defined roles remain intact for adapters rather than being rejected by the API. Custom implementations must be immutable and provide stable value-based equality and hash semantics.

Inheritors

Types

Link copied to clipboard
data object Button : SemanticsRole

A button-like control.

Link copied to clipboard
data object Checkbox : SemanticsRole

A binary checkable control.

Link copied to clipboard

A button that cycles through a finite option set.

Link copied to clipboard

A read-only progress indicator.

Link copied to clipboard

A selectable list container.

Link copied to clipboard
data object Slider : SemanticsRole

A bounded numeric adjustment control.

Link copied to clipboard
data object Tab : SemanticsRole

One selectable tab in an externally controlled tab group.

Link copied to clipboard
data object Text : SemanticsRole

A text presentation.

Link copied to clipboard
data object TextArea : SemanticsRole

An editable multiline text area with independently controlled vertical scrolling.

Link copied to clipboard
data object TextField : SemanticsRole

An editable single-line text field.

Properties

Link copied to clipboard

Optional versioned client role identity for remote declarations. Local application roles need no registration; remote consumers explicitly register the same type on their client.