The Developer Preview for Android 11 is now available; test it out and share your feedback.

EditOperation

interface EditOperation
androidx.ui.input.EditOperation

A base class of all EditOperations

An EditOperation is a representation of platform IME API call. For example, in Android, InputConnection#commitText API call is translated to CommitTextEditOp object.

Summary

Public methods

abstract Unit

Processes editing buffer with this edit operation.

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Public methods

process

abstract fun process(buffer: EditingBuffer): Unit

Processes editing buffer with this edit operation.