public actual sealed interface ContentType
Functions
plus
public actual operator fun plus(other: ContentType): ContentType
Members
Companion
public actual companion object
Properties
Username
public val Username: ContentType = ContentType(AUTOFILL_HINT_USERNAME)
Password
public val Password: ContentType = ContentType(AUTOFILL_HINT_PASSWORD)
EmailAddress
public val EmailAddress: ContentType = ContentType(AUTOFILL_HINT_EMAIL_ADDRESS)
NewUsername
public val NewUsername: ContentType = ContentType(AUTOFILL_HINT_NEW_USERNAME)
NewPassword
public val NewPassword: ContentType = ContentType(AUTOFILL_HINT_NEW_PASSWORD)
PostalAddress
public val PostalAddress: ContentType = ContentType(AUTOFILL_HINT_POSTAL_ADDRESS)
PostalCode
public val PostalCode: ContentType = ContentType(AUTOFILL_HINT_POSTAL_CODE)
CreditCardNumber
public val CreditCardNumber: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_NUMBER)
CreditCardSecurityCode
public val CreditCardSecurityCode: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE)
CreditCardExpirationDate
public val CreditCardExpirationDate: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE)
CreditCardExpirationMonth
public val CreditCardExpirationMonth: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH)
CreditCardExpirationYear
public val CreditCardExpirationYear: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR)
CreditCardExpirationDay
public val CreditCardExpirationDay: ContentType =
ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY)
AddressCountry
public val AddressCountry: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_COUNTRY)
AddressRegion
public val AddressRegion: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_REGION)
AddressLocality
public val AddressLocality: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_LOCALITY)
AddressStreet
public val AddressStreet: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_STREET_ADDRESS)
AddressAuxiliaryDetails
public val AddressAuxiliaryDetails: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_EXTENDED_ADDRESS)
PostalCodeExtended
public val PostalCodeExtended: ContentType =
ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_EXTENDED_POSTAL_CODE)
PersonFullName
public val PersonFullName: ContentType = ContentType(AUTOFILL_HINT_PERSON_NAME)
PersonFirstName
public val PersonFirstName: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_GIVEN)
PersonLastName
public val PersonLastName: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_FAMILY)
PersonMiddleName
public val PersonMiddleName: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_MIDDLE)
PersonMiddleInitial
public val PersonMiddleInitial: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_MIDDLE_INITIAL)
PersonNamePrefix
public val PersonNamePrefix: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_PREFIX)
PersonNameSuffix
public val PersonNameSuffix: ContentType =
ContentType(AUTOFILL_HINT_PERSON_NAME_SUFFIX)
PhoneNumber
public val PhoneNumber: ContentType = ContentType(AUTOFILL_HINT_PHONE_NUMBER)
PhoneNumberDevice
public val PhoneNumberDevice: ContentType =
ContentType(AUTOFILL_HINT_PHONE_NUMBER_DEVICE)
PhoneCountryCode
public val PhoneCountryCode: ContentType =
ContentType(AUTOFILL_HINT_PHONE_COUNTRY_CODE)
PhoneNumberNational
public val PhoneNumberNational: ContentType =
ContentType(AUTOFILL_HINT_PHONE_NATIONAL)
Gender
public val Gender: ContentType = ContentType(AUTOFILL_HINT_GENDER)
BirthDateFull
public val BirthDateFull: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_FULL)
BirthDateDay
public val BirthDateDay: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_DAY)
BirthDateMonth
public val BirthDateMonth: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_MONTH)
BirthDateYear
public val BirthDateYear: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_YEAR)
SmsOtpCode
public val SmsOtpCode: ContentType = ContentType(AUTOFILL_HINT_SMS_OTP)
public expect sealed 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.
Functions
plus
public operator fun plus(other: ContentType): ContentType
Members
Companion
public companion object
Properties
EmailAddress
public val EmailAddress: ContentType
Indicates that the associated component can be autofilled with an email address.
Username
public val Username: ContentType
Indicates that the associated component can be autofilled with a username.
Password
public val Password: ContentType
Indicates that the associated component can be autofilled with a password.
NewUsername
public val NewUsername: ContentType
Indicates that the associated component can be interpreted as a newly created username for save/update.
NewPassword
public val NewPassword: ContentType
Indicates that the associated component can be interpreted as a newly created password for save/update.
PostalAddress
public val PostalAddress: ContentType
Indicates that the associated component can be autofilled with a postal address.
PostalCode
public val PostalCode: ContentType
Indicates that the associated component can be autofilled with a postal code.
CreditCardNumber
public val CreditCardNumber: ContentType
Indicates that the associated component can be autofilled with a credit card number.
CreditCardSecurityCode
public val CreditCardSecurityCode: ContentType
Indicates that the associated component can be autofilled with a credit card security code.
CreditCardExpirationDate
public val CreditCardExpirationDate: ContentType
Indicates that the associated component can be autofilled with a credit card expiration date.
CreditCardExpirationMonth
public val CreditCardExpirationMonth: ContentType
Indicates that the associated component can be autofilled with a credit card expiration month.
CreditCardExpirationYear
public val CreditCardExpirationYear: ContentType
Indicates that the associated component can be autofilled with a credit card expiration year.
CreditCardExpirationDay
public val CreditCardExpirationDay: ContentType
Indicates that the associated component can be autofilled with a credit card expiration day.
AddressCountry
public val AddressCountry: ContentType
Indicates that the associated component can be autofilled with a country name/code.
AddressRegion
public val AddressRegion: ContentType
Indicates that the associated component can be autofilled with a region/state.
AddressLocality
public val AddressLocality: ContentType
Indicates that the associated component can be autofilled with an address locality (city/town).
AddressStreet
public val AddressStreet: ContentType
Indicates that the associated component can be autofilled with a street address.
AddressAuxiliaryDetails
public val AddressAuxiliaryDetails: ContentType
Indicates that the associated component can be autofilled with auxiliary address details.
PostalCodeExtended
public 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.
PersonFullName
public val PersonFullName: ContentType
Indicates that the associated component can be autofilled with a person's full name.
PersonFirstName
public val PersonFirstName: ContentType
Indicates that the associated component can be autofilled with a person's first/given name.
PersonLastName
public val PersonLastName: ContentType
Indicates that the associated component can be autofilled with a person's last/family name.
PersonMiddleName
public val PersonMiddleName: ContentType
Indicates that the associated component can be autofilled with a person's middle name.
PersonMiddleInitial
public val PersonMiddleInitial: ContentType
Indicates that the associated component can be autofilled with a person's middle initial.
PersonNamePrefix
public val PersonNamePrefix: ContentType
Indicates that the associated component can be autofilled with a person's name prefix.
PersonNameSuffix
public val PersonNameSuffix: ContentType
Indicates that the associated component can be autofilled with a person's name suffix.
PhoneNumber
public val PhoneNumber: ContentType
Indicates that the associated component can be autofilled with a phone number with country code.
Example: +1 123-456-7890
PhoneNumberDevice
public val PhoneNumberDevice: ContentType
Indicates that the associated component can be autofilled with the current device's phone number usually for Sign Up / OTP flows.
PhoneCountryCode
public val PhoneCountryCode: ContentType
Indicates that the associated component can be autofilled with a phone number's country code.
PhoneNumberNational
public val PhoneNumberNational: ContentType
Indicates that the associated component can be autofilled with a phone number without country code.
Gender
public val Gender: ContentType
Indicates that the associated component can be autofilled with a gender.
BirthDateFull
public val BirthDateFull: ContentType
Indicates that the associated component can be autofilled with a full birth date.
BirthDateDay
public val BirthDateDay: ContentType
Indicates that the associated component can be autofilled with a birth day(of the month).
BirthDateMonth
public val BirthDateMonth: ContentType
Indicates that the associated component can be autofilled with a birth month.
BirthDateYear
public val BirthDateYear: ContentType
Indicates that the associated component can be autofilled with a birth year.
SmsOtpCode
public val SmsOtpCode: ContentType
Indicates that the associated component can be autofilled with a SMS One Time Password (OTP).