InputModeManager

Interface

Common
interface InputModeManager

The InputModeManager is accessible as a CompositionLocal, that provides the current InputMode.

Properties

Common
val inputMode: InputMode

The current InputMode.

Functions

fun requestInputMode(inputMode: InputMode): Boolean

Send a request to change the InputMode.

Parameters

inputModeThe requested InputMode.

Returns

true if the system is in the requested mode, after processing this request.