Property

inputTextSuggestionState

This semantics provides the state of a text that has active suggestions.

Source set: Common
public var SemanticsPropertyReceiver.inputTextSuggestionState: InputTextSuggestionState by
    SemanticsProperties.InputTextSuggestionState

This semantics provides the state of a text that has active suggestions. Text with suggestions are typically associated with typing transliteration languages such as Chinese, Japanese, Korean where multiple text replacement suggestions appear.

It is used by accessibility services to determine what speech feedback should be announced as the user is typing a transliteration text. For example, whether to announce that a replacement text is selected.

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: