InputModeManager


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

Summary

Public functions

Boolean

Send a request to change the InputMode.

Cmn

Public properties

InputMode

The current InputMode.

Cmn

Public functions

requestInputMode

@ExperimentalComposeUiApi
fun requestInputMode(inputMode: InputMode): Boolean

Send a request to change the InputMode.

Parameters
inputMode: InputMode

The requested InputMode.

Returns
Boolean

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

Public properties

inputMode

val inputModeInputMode

The current InputMode.