EditCommand

Interface

Common
interface EditCommand

EditCommand is a command representation for the platform IME API function calls. The commands from the IME as function calls are translated into command pattern and used by TextInputService.startInput. For example, as a result of commit text function call by IME CommitTextCommand is created.

Functions

fun applyTo(buffer: EditingBuffer)

Apply the command on the editing buffer.