KeyboardType
value class KeyboardType private constructor(@Suppress("unused") private val value: Int)
Values representing the different available Keyboard Types.
Companion Object
Properties
val Unspecified: KeyboardType
The keyboard type is not specified.
val Text: KeyboardType
A keyboard type used to request an IME that shows regular keyboard.
val Ascii: KeyboardType
A keyboard type used to request an IME that is capable of inputting ASCII characters.
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.
val Phone: KeyboardType
A keyboard type used to request an IME that is capable of inputting phone numbers.
val Uri: KeyboardType
A keyboard type used to request an IME that is capable of inputting URIs.
val Email: KeyboardType
A keyboard type used to request an IME that is capable of inputting email addresses.
val Password: KeyboardType
A keyboard type used to request an IME that is capable of inputting password.
val NumberPassword: KeyboardType
A keyboard type used to request an IME that is capable of inputting number password.
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
.