Android 12 Developer Preview is here! Try it out, and give us your feedback!

DeleteAllCommand

class DeleteAllCommand : EditCommand
kotlin.Any
   ↳ androidx.compose.ui.text.input.DeleteAllCommand

Deletes all the text in the buffer.

Summary

Public constructors

Deletes all the text in the buffer.

Public methods
Unit

Apply the command on the editing buffer.

Boolean
equals(other: Any?)

Int

String

Public constructors

<init>

DeleteAllCommand()

Deletes all the text in the buffer.

Public methods

applyTo

fun applyTo(buffer: EditingBuffer): Unit

Apply the command on the editing buffer.

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String