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

androidx.compose.ui.semantics

Interfaces

SemanticsModifier

A Modifier.Element that adds semantics key/value for use in testing, accessibility, and similar use cases.

SemanticsPropertyReceiver

SemanticsPropertyReceiver is the scope provided by semantics {} blocks, letting you set key/value pairs primarily via extension functions.

Classes

AccessibilityAction

Standard accessibility action.

CollectionInfo

Information about the collection.

CollectionItemInfo

Information about the item of a collection.

CustomAccessibilityAction

Custom accessibility action.

LiveRegionMode

The mode of live region.

ProgressBarRangeInfo

Accessibility range information, to represent the status of a progress bar or seekable progress bar.

Role

The type of user interface element.

ScrollAxisRange

The scroll state of one axis if this node is scrollable.

SemanticsConfiguration

Describes the semantic information associated with the owning component

SemanticsConfigurationKt
SemanticsModifierKt
SemanticsNode

A list of key/value pairs associated with a layout node or its subtree.

SemanticsOwner

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

SemanticsOwnerKt
SemanticsPropertiesKt
SemanticsPropertyKey

SemanticsPropertyKey is the infrastructure for setting key/value pairs inside semantics blocks in a type-safe way.

LiveRegionMode.Companion
ProgressBarRangeInfo.Companion
Role.Companion
SemanticsActions

Ths object defines keys of the actions which can be set in semantics and performed on the semantics node.

SemanticsProperties

General semantics properties, mainly used for accessibility and testing.

SemanticsPropertiesAndroid