KeyboardType

Class

Common
value class KeyboardType private constructor(@Suppress("unused") private val value: Int)

Values representing the different available Keyboard Types.

Companion Object

Properties

Common
val Unspecified: KeyboardType

The keyboard type is not specified.

Common
val Text: KeyboardType

A keyboard type used to request an IME that shows regular keyboard.

Common
val Ascii: KeyboardType

A keyboard type used to request an IME that is capable of inputting ASCII characters.

Common
val Number: KeyboardType

A keyboard type used to request an IME that is capable of inputting digits. IME may provide inputs other than digits but it is not guaranteed.

Common
val Phone: KeyboardType

A keyboard type used to request an IME that is capable of inputting phone numbers.

Common
val Uri: KeyboardType

A keyboard type used to request an IME that is capable of inputting URIs.

Common
val Email: KeyboardType

A keyboard type used to request an IME that is capable of inputting email addresses.

Common
val Password: KeyboardType

A keyboard type used to request an IME that is capable of inputting password.

Common
val NumberPassword: KeyboardType

A keyboard type used to request an IME that is capable of inputting number password.

Common
val Decimal: KeyboardType

A keyboard type used to request an IME that is capable of inputting decimals. IME should explicitly provide a decimal separator as input, which is not assured by KeyboardType.Number.