---
title: "InputTextSuggestionState"
description: "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."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class InputTextSuggestionState(val isCommittedByInputMethodEditor: Boolean = false)
```


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.

#### Parameters

| | |
| --- | --- |
| isCommittedByInputMethodEditor | 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. |




