InputModeManager
-
Cmn
interface InputModeManager
The InputModeManager is accessible as a CompositionLocal, that provides the current InputMode.
Summary
Public functions |
||
|---|---|---|
Boolean |
requestInputMode(inputMode: InputMode)Send a request to change the |
Cmn
|
Public functions
requestInputMode
fun requestInputMode(inputMode: InputMode): Boolean
Send a request to change the InputMode.
This may not succeed, depending on platform implementation. For example, on Android the input mode is managed by the platform, and an app can't programmatically request to move from InputMode.Keyboard to InputMode.Touch outside of tests.
| Returns | |
|---|---|
Boolean |
true if the system is in the requested mode, after processing this request. |