Sets whether a preview should be visible above the input keyboard.
Initial selected text range to set on the inivisible text view.
Initial text to fill into the invisible text view.
Requested keyboard type.
Callback to be invoked when a batch edit session is started. Editors can't send any update to the keyboard during a batch edit session.
Callback to be invoked when text should be committed to the selection/composing region.
Callback to be invoked when a batch edit session is ended. Editors can resume their updates after receiving this callback
Callback to be invoked when there is an error.
Callback to be invoked when the kind of keyboard serving your text input session changes. The current kind is delivered right after the keyboard request. If the current text input follows pose suggestions, the last suggestion must be discarded when this callback is fired until new suggestion arrives.
Callback to be invoked when keyboard is shown or dismissed.
Callback to be invoked when an editor action should be performed. This is typically used to perform actions like "search", "go", "next", "send", "newline", "done".
Callback to be invoked when the user presses the return key.
Callback to be invoked when the composing region is changed.
Callback to be invoked when the composing text is changed.
Callback to be invoked when there selection range is changed.
Callback to be invoked every time the user presses a (non-return) key.
Callback to be invoked with where the system suggests you place the edited content:
position/rotation is the suggested bottom center of the text input UI element that
currently has focus (just above the keyboard's top edge) in your Lens's world space
(in centimeters).
size (in centimeters), when non-zero, is the recommended (but not enforced) content
size. Disregard the last suggestion after onKeyboardKindChanged.
Callback to be invoked when there is a text update from the input method in the current cursor position.
Callback to be invoked when the user releases the virtual keyboard after a drag.
Always paired with a preceding onVirtualKeyboardMoveStarted.
Callback to be invoked when the user grabs the virtual keyboard and starts dragging it. Apply transient drag effects, if any, to your content; pose suggestions may keep streaming during the move. Late joiners are notified if a keyboard move is in progress.
Requested return key type.
The settings used for how the input keyboard should work.
Example