{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

FinishComposingTextCommand

public final class FinishComposingTextCommand implements 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.

Summary

Public constructors

Public methods

void

Apply the command on the editing buffer.

boolean
equals(Object other)
int
@NonNull String

Public constructors

FinishComposingTextCommand

public FinishComposingTextCommand()

Public methods

applyTo

public void applyTo(@NonNull EditingBuffer buffer)

Apply the command on the editing buffer.

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()