{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public static class InputMode.Companion
static final @NonNull InputMode
getKeyboard()
The system is put into Keyboard mode when a user presses a hardware key.
Keyboard
getTouch()
The system is put into Touch mode when a user touches the screen.
Touch
public static final @NonNull InputMode getKeyboard()
public static final @NonNull InputMode getTouch()