Android 12 Developer Preview is here! Try it out, and give us your feedback!

AutofillType

enum class AutofillType
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.autofill.AutofillType>
   ↳ androidx.compose.ui.autofill.AutofillType

Autofill type information.

Autofill services use the AutofillType to determine what value to use to autofill fields associated with this type. If the AutofillType is not specified, the autofill services have to use heuristics to determine the right value to use while autofilling the corresponding field.

Summary

Enum values

Indicates that the associated component can be aufofilled with auxiliary address details.

Indicates that the associated component can be aufofilled with a country name/code.

Indicates that the associated component can be aufofilled with an address locality (city/town).

Indicates that the associated component can be aufofilled with a region/state.

Indicates that the associated component can be aufofilled with a street address.

Indicates that the associated component can be aufofilled with a birth day(of the month).

Indicates that the associated component can be aufofilled with a full birth date.

Indicates that the associated component can be aufofilled with a birth day(of the month).

Indicates that the associated component can be aufofilled with a birth year.

Indicates that the associated component can be aufofilled with a credit card expiration date.

Indicates that the associated component can be aufofilled with a credit card expiration day.

Indicates that the associated component can be aufofilled with a credit card expiration month.

Indicates that the associated component can be aufofilled with a credit card expiration year.

Indicates that the associated component can be aufofilled with a credit card number.

Indicates that the associated component can be aufofilled with a credit card security code.

Indicates that the associated component can be aufofilled with an email address.

Indicates that the associated component can be aufofilled with a gender.

Indicates that the associated component can be interpreted as a newly created password for save/update.

Indicates that the associated component can be interpreted as a newly created username for save/update.

Indicates that the associated component can be aufofilled with a password.

Indicates that the associated component can be aufofilled with a person's first/given name.