InputTextSuggestionState


The state of an input text when suggestions are shown. This property specifies the different available states the input text can be in when there are text suggestions available, typically shown as a dialog window and when a user inputs a transliteration language such as Chinese, Japanese, Korean, etc.

Summary

Public constructors

InputTextSuggestionState(isCommittedByInputMethodEditor: Boolean)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Boolean

whether the current text was committed by an input method editor done by the user, will stay false if the committed text was done programmatically, e.g. via Accessibility service.

Cmn

Public constructors

InputTextSuggestionState

InputTextSuggestionState(isCommittedByInputMethodEditor: Boolean = false)
Parameters
isCommittedByInputMethodEditor: Boolean = false

whether the current text was committed by an input method editor done by the user, will stay false if the committed text was done programmatically, e.g. via Accessibility service.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

isCommittedByInputMethodEditor

val isCommittedByInputMethodEditorBoolean

whether the current text was committed by an input method editor done by the user, will stay false if the committed text was done programmatically, e.g. via Accessibility service.