---
title: "FinishComposingTextCommand"
description: "Finishes the composing text that is currently active. This simply leaves the text as-is, removing
any special composing styling or other state that was around it. The cursor position remains
unchanged.

See
[`finishComposingText`](https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#finishComposingText())."
type: "class"
---

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


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

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


```kotlin
class FinishComposingTextCommand : EditCommand
```


Finishes the composing text that is currently active. This simply leaves the text as-is, removing
any special composing styling or other state that was around it. The cursor position remains
unchanged.

See
``finishComposingText``(https://developer.android.com/reference/android/view/inputmethod/InputConnection.html#finishComposingText()).



