Property

stateDescription

Developer-set state description of the semantics node.

Source set: Common
public var SemanticsPropertyReceiver.stateDescription: String by
    SemanticsProperties.StateDescription

Developer-set state description of the semantics node.

For example: on/off. If this not set, accessibility services will derive the state from other semantics properties, like ProgressBarRangeInfo, but it is not guaranteed and the format will be decided by accessibility services.

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: