ImeSetCompositionRequest

@Serializable
data class ImeSetCompositionRequest(val text: String, val selectionStart: Int, val selectionEnd: Int, val replacementStart: Int? = null, val replacementEnd: Int? = null)

Request object containing input parameters for the InputDomain.imeSetComposition command.

Constructors

Link copied to clipboard
constructor(text: String, selectionStart: Int, selectionEnd: Int, replacementStart: Int? = null, replacementEnd: Int? = null)

Types

Link copied to clipboard
class Builder(val text: String, val selectionStart: Int, val selectionEnd: Int)

A builder for ImeSetCompositionRequest, which allows setting the optional parameters of the InputDomain.imeSetComposition command via a lambda.

Properties

Link copied to clipboard

replacement end

Link copied to clipboard

replacement start

Link copied to clipboard

selection end

Link copied to clipboard

selection start

Link copied to clipboard

The text to insert