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

SetComposingRegionEditOp

data class SetComposingRegionEditOp : EditOperation
kotlin.Any
   ↳ androidx.ui.input.SetComposingRegionEditOp

An edit operation represents setComposingRegion callback from InputMethod.

Summary

Public constructors

<init>(start: Int, end: Int)

An edit operation represents setComposingRegion callback from InputMethod.

Public methods

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.

Properties

Int

The exclusive end offset of the composing region

Int

The inclusive start offset of the composing region.

Public constructors

<init>

SetComposingRegionEditOp(
    start: Int,
    end: Int)

An edit operation represents setComposingRegion callback from InputMethod.

Public methods

process

fun process(buffer: EditingBuffer): Unit

Processes editing buffer with this edit operation.

Properties

end

val end: Int

The exclusive end offset of the composing region

start

val start: Int

The inclusive start offset of the composing region.