ContentType
-
Cmn
sealed interface ContentType
-
android
interface ContentType
Content type information.
Autofill services use the ContentType to determine what value to use to autofill fields associated with this type. If the ContentType is not specified, the autofill services have to use heuristics to determine the right value to use while autofilling the corresponding field.
Summary
Public companion properties |
||
|---|---|---|
ContentType |
Indicates that the associated component can be autofilled with auxiliary address details. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a country name/code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with an address locality (city/town). |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a region/state. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a street address. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a birth day(of the month). |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a full birth date. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a birth month. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a birth year. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card expiration date. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card expiration day. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card expiration month. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card expiration year. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card number. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a credit card security code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with an email address. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a gender. |
Cmn
android
|
ContentType |
Indicates that the associated component can be interpreted as a newly created password for save/update. |
Cmn
android
|
ContentType |
Indicates that the associated component can be interpreted as a newly created username for save/update. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a password. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's first/given name. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's full name. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's last/family name. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's middle initial. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's middle name. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's name prefix. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a person's name suffix. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a phone number's country code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a phone number with country code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with the current device's phone number usually for Sign Up / OTP flows. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a phone number without country code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a postal address. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a postal code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with an extended ZIP/POSTAL code. |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a SMS One Time Password (OTP). |
Cmn
android
|
ContentType |
Indicates that the associated component can be autofilled with a username. |
Cmn
android
|
Public functions |
||
|---|---|---|
operator ContentType |
plus(other: ContentType) |
Cmn
android
|
Public companion properties
AddressAuxiliaryDetails
val AddressAuxiliaryDetails: ContentType
Indicates that the associated component can be autofilled with auxiliary address details.
AddressCountry
val AddressCountry: ContentType
Indicates that the associated component can be autofilled with a country name/code.
AddressLocality
val AddressLocality: ContentType
Indicates that the associated component can be autofilled with an address locality (city/town).
AddressRegion
val AddressRegion: ContentType
Indicates that the associated component can be autofilled with a region/state.
AddressStreet
val AddressStreet: ContentType
Indicates that the associated component can be autofilled with a street address.
BirthDateDay
val BirthDateDay: ContentType
Indicates that the associated component can be autofilled with a birth day(of the month).
BirthDateFull
val BirthDateFull: ContentType
Indicates that the associated component can be autofilled with a full birth date.
BirthDateMonth
val BirthDateMonth: ContentType
Indicates that the associated component can be autofilled with a birth month.
BirthDateYear
val BirthDateYear: ContentType
Indicates that the associated component can be autofilled with a birth year.
CreditCardExpirationDate
val CreditCardExpirationDate: ContentType
Indicates that the associated component can be autofilled with a credit card expiration date.
CreditCardExpirationDay
val CreditCardExpirationDay: ContentType
Indicates that the associated component can be autofilled with a credit card expiration day.
CreditCardExpirationMonth
val CreditCardExpirationMonth: ContentType
Indicates that the associated component can be autofilled with a credit card expiration month.
CreditCardExpirationYear
val CreditCardExpirationYear: ContentType
Indicates that the associated component can be autofilled with a credit card expiration year.
CreditCardNumber
val CreditCardNumber: ContentType
Indicates that the associated component can be autofilled with a credit card number.
CreditCardSecurityCode
val CreditCardSecurityCode: ContentType
Indicates that the associated component can be autofilled with a credit card security code.
EmailAddress
val EmailAddress: ContentType
Indicates that the associated component can be autofilled with an email address.
Gender
val Gender: ContentType
Indicates that the associated component can be autofilled with a gender.
NewPassword
val NewPassword: ContentType
Indicates that the associated component can be interpreted as a newly created password for save/update.
NewUsername
val NewUsername: ContentType
Indicates that the associated component can be interpreted as a newly created username for save/update.
Password
val Password: ContentType
Indicates that the associated component can be autofilled with a password.
PersonFirstName
val PersonFirstName: ContentType
Indicates that the associated component can be autofilled with a person's first/given name.
PersonFullName
val PersonFullName: ContentType
Indicates that the associated component can be autofilled with a person's full name.
PersonLastName
val PersonLastName: ContentType
Indicates that the associated component can be autofilled with a person's last/family name.
PersonMiddleInitial
val PersonMiddleInitial: ContentType
Indicates that the associated component can be autofilled with a person's middle initial.
PersonMiddleName
val PersonMiddleName: ContentType
Indicates that the associated component can be autofilled with a person's middle name.
PersonNamePrefix
val PersonNamePrefix: ContentType
Indicates that the associated component can be autofilled with a person's name prefix.
PersonNameSuffix
val PersonNameSuffix: ContentType
Indicates that the associated component can be autofilled with a person's name suffix.
PhoneCountryCode
val PhoneCountryCode: ContentType
Indicates that the associated component can be autofilled with a phone number's country code.
PhoneNumber
val PhoneNumber: ContentType
Indicates that the associated component can be autofilled with a phone number with country code.
Example: +1 123-456-7890
PhoneNumberDevice
val PhoneNumberDevice: ContentType
Indicates that the associated component can be autofilled with the current device's phone number usually for Sign Up / OTP flows.
PhoneNumberNational
val PhoneNumberNational: ContentType
Indicates that the associated component can be autofilled with a phone number without country code.
PostalAddress
val PostalAddress: ContentType
Indicates that the associated component can be autofilled with a postal address.
PostalCode
val PostalCode: ContentType
Indicates that the associated component can be autofilled with a postal code.
PostalCodeExtended
val PostalCodeExtended: ContentType
Indicates that the associated component can be autofilled with an extended ZIP/POSTAL code.
Example: In forms that split the U.S. ZIP+4 Code with nine digits 99999-9999 into two fields annotate the delivery route code with this hint.
SmsOtpCode
val SmsOtpCode: ContentType
Indicates that the associated component can be autofilled with a SMS One Time Password (OTP).
Username
val Username: ContentType
Indicates that the associated component can be autofilled with a username.