{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

InputMode.Companion

public static class InputMode.Companion


Summary

Public methods

static final @NonNull InputMode

The system is put into Keyboard mode when a user presses a hardware key.

static final @NonNull InputMode

The system is put into Touch mode when a user touches the screen.

Public methods

getKeyboard

public static final @NonNull InputMode getKeyboard()

The system is put into Keyboard mode when a user presses a hardware key.

getTouch

public static final @NonNull InputMode getTouch()

The system is put into Touch mode when a user touches the screen.