Google is committed to advancing racial equity for Black communities. See how.

KeyboardType

enum class KeyboardType
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.text.input.KeyboardType>
   ↳ androidx.compose.ui.text.input.KeyboardType

Enums used for indicating keyboard types

Summary

Enum values

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

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

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

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

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

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

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

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

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Ascii

enum val Ascii : KeyboardType

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

Email

enum val Email : KeyboardType

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

Number

enum val Number : KeyboardType

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

NumberPassword

enum val NumberPassword : KeyboardType

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

Password

enum val Password : KeyboardType

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

Phone

enum val Phone : KeyboardType

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

Text

enum val Text : KeyboardType

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

Uri

enum val Uri : KeyboardType

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