InputHints#

class InputHints#

Describes hints that might be taken into account by input methods or applications.

Note that input methods may already tailor their behaviour according to the InputPurpose of the entry.

Some common sense is expected when using these flags - mixing LOWERCASE with any of the uppercase hints makes no sense.

This enumeration may be extended in the future; input methods should ignore unknown values.

Fields#

class InputHints
EMOJI#

Suggest offering Emoji support

INHIBIT_OSK#

Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).

LOWERCASE#

Suggest to convert all text to lowercase

NONE#

No special behaviour suggested

NO_EMOJI#

Suggest not offering Emoji support

NO_SPELLCHECK#

Suggest not checking for typos

PRIVATE#

Request that the input method should not update personalized data (like typing history)

SPELLCHECK#

Suggest checking for typos

UPPERCASE_CHARS#

Suggest to capitalize all text

UPPERCASE_SENTENCES#

Suggest to capitalize the first word of each sentence

UPPERCASE_WORDS#

Suggest to capitalize the first character of each word

VERTICAL_WRITING#

The text is vertical

WORD_COMPLETION#

Suggest word completion