OnInputEnteredScope

class OnInputEnteredScope(val id: Any, val input: String)

Fields and methods accessible within a callback triggered by onInputEntered.

Constructors

Link copied to clipboard
constructor(id: Any, input: String)

Properties

Link copied to clipboard
val id: Any

The ID of the current input, if one was specified in the original call to input.

Link copied to clipboard

The text value of the input entered by the user. At this point, the value is readonly. See also: onInputChanged, a callback that lets you modify this value as it is being typed.

Functions

Link copied to clipboard

Call to reset the input back to blank, which can be useful if you are re-using the same input multiple times.

Link copied to clipboard

Indicate that the current input isn't valid and shouldn't be accepted as is.