SemanticsProperties
object SemanticsProperties
General semantics properties, mainly used for accessibility and testing.
Each of these is intended to be set by the respective SemanticsPropertyReceiver extension instead of used directly.
Summary
Public properties
CollectionItemInfo
val CollectionItemInfo: SemanticsPropertyKey<CollectionItemInfo>
See also | |
---|---|
collectionItemInfo |
ContentDescription
val ContentDescription: SemanticsPropertyKey<List<String>>
See also | |
---|---|
contentDescription |
HorizontalScrollAxisRange
val HorizontalScrollAxisRange: SemanticsPropertyKey<ScrollAxisRange>
See also | |
---|---|
horizontalScrollAxisRange |
InvisibleToUser
@ExperimentalComposeUiApi
val InvisibleToUser: SemanticsPropertyKey<Unit>
See also | |
---|---|
invisibleToUser |
ProgressBarRangeInfo
val ProgressBarRangeInfo: SemanticsPropertyKey<ProgressBarRangeInfo>
See also | |
---|---|
progressBarRangeInfo |
Role
val Role: SemanticsPropertyKey<Role>
The type of user interface element. Accessibility services might use this to describe the element or do customizations. Most roles can be automatically resolved by the semantics properties of this element. But some elements with subtle differences need an exact role. If an exact role is not listed in Role
, this property should not be set and the framework will automatically resolve it.
See also | |
---|---|
role |
TextSelectionRange
val TextSelectionRange: SemanticsPropertyKey<TextRange>
See also | |
---|---|
textSelectionRange |
VerticalScrollAxisRange
val VerticalScrollAxisRange: SemanticsPropertyKey<ScrollAxisRange>
See also | |
---|---|
verticalScrollAxisRange |