🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

ContentType

Source set: Android
public actual sealed interface ContentType

Functions

plus

Source set: Android
public actual operator fun plus(other: ContentType): ContentType

Members

Companion

Source set: Android
public actual companion object

Properties

Username

Source set: Android
public val Username: ContentType = ContentType(AUTOFILL_HINT_USERNAME)

Password

Source set: Android
public val Password: ContentType = ContentType(AUTOFILL_HINT_PASSWORD)

EmailAddress

Source set: Android
public val EmailAddress: ContentType = ContentType(AUTOFILL_HINT_EMAIL_ADDRESS)

NewUsername

Source set: Android
public val NewUsername: ContentType = ContentType(AUTOFILL_HINT_NEW_USERNAME)

NewPassword

Source set: Android
public val NewPassword: ContentType = ContentType(AUTOFILL_HINT_NEW_PASSWORD)

PostalAddress

Source set: Android
public val PostalAddress: ContentType = ContentType(AUTOFILL_HINT_POSTAL_ADDRESS)

PostalCode

Source set: Android
public val PostalCode: ContentType = ContentType(AUTOFILL_HINT_POSTAL_CODE)

CreditCardNumber

Source set: Android
public val CreditCardNumber: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_NUMBER)

CreditCardSecurityCode

Source set: Android
public val CreditCardSecurityCode: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE)

CreditCardExpirationDate

Source set: Android
public val CreditCardExpirationDate: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE)

CreditCardExpirationMonth

Source set: Android
public val CreditCardExpirationMonth: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH)

CreditCardExpirationYear

Source set: Android
public val CreditCardExpirationYear: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR)

CreditCardExpirationDay

Source set: Android
public val CreditCardExpirationDay: ContentType =
            ContentType(AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY)

AddressCountry

Source set: Android
public val AddressCountry: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_COUNTRY)

AddressRegion

Source set: Android
public val AddressRegion: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_REGION)

AddressLocality

Source set: Android
public val AddressLocality: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_LOCALITY)

AddressStreet

Source set: Android
public val AddressStreet: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_STREET_ADDRESS)

AddressAuxiliaryDetails

Source set: Android
public val AddressAuxiliaryDetails: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_EXTENDED_ADDRESS)

PostalCodeExtended

Source set: Android
public val PostalCodeExtended: ContentType =
            ContentType(AUTOFILL_HINT_POSTAL_ADDRESS_EXTENDED_POSTAL_CODE)

PersonFullName

Source set: Android
public val PersonFullName: ContentType = ContentType(AUTOFILL_HINT_PERSON_NAME)

PersonFirstName

Source set: Android
public val PersonFirstName: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_GIVEN)

PersonLastName

Source set: Android
public val PersonLastName: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_FAMILY)

PersonMiddleName

Source set: Android
public val PersonMiddleName: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_MIDDLE)

PersonMiddleInitial

Source set: Android
public val PersonMiddleInitial: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_MIDDLE_INITIAL)

PersonNamePrefix

Source set: Android
public val PersonNamePrefix: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_PREFIX)

PersonNameSuffix

Source set: Android
public val PersonNameSuffix: ContentType =
            ContentType(AUTOFILL_HINT_PERSON_NAME_SUFFIX)

PhoneNumber

Source set: Android
public val PhoneNumber: ContentType = ContentType(AUTOFILL_HINT_PHONE_NUMBER)

PhoneNumberDevice

Source set: Android
public val PhoneNumberDevice: ContentType =
            ContentType(AUTOFILL_HINT_PHONE_NUMBER_DEVICE)

PhoneCountryCode

Source set: Android
public val PhoneCountryCode: ContentType =
            ContentType(AUTOFILL_HINT_PHONE_COUNTRY_CODE)

PhoneNumberNational

Source set: Android
public val PhoneNumberNational: ContentType =
            ContentType(AUTOFILL_HINT_PHONE_NATIONAL)

Gender

Source set: Android
public val Gender: ContentType = ContentType(AUTOFILL_HINT_GENDER)

BirthDateFull

Source set: Android
public val BirthDateFull: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_FULL)

BirthDateDay

Source set: Android
public val BirthDateDay: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_DAY)

BirthDateMonth

Source set: Android
public val BirthDateMonth: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_MONTH)

BirthDateYear

Source set: Android
public val BirthDateYear: ContentType = ContentType(AUTOFILL_HINT_BIRTH_DATE_YEAR)

SmsOtpCode

Source set: Android
public val SmsOtpCode: ContentType = ContentType(AUTOFILL_HINT_SMS_OTP)
Source set: Common
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

Source set: Common
public operator fun plus(other: ContentType): ContentType

Members

Companion

Source set: Common
public companion object

Properties

EmailAddress

Source set: Common
public val EmailAddress: ContentType

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

Username

Source set: Common
public val Username: ContentType

Indicates that the associated component can be autofilled with a username.

Password

Source set: Common
public val Password: ContentType

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

NewUsername

Source set: Common
public val NewUsername: ContentType

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

NewPassword

Source set: Common
public val NewPassword: ContentType

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

PostalAddress

Source set: Common
public val PostalAddress: ContentType

Indicates that the associated component can be autofilled with a postal address.

PostalCode

Source set: Common
public val PostalCode: ContentType

Indicates that the associated component can be autofilled with a postal code.

CreditCardNumber

Source set: Common
public val CreditCardNumber: ContentType

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

CreditCardSecurityCode

Source set: Common
public val CreditCardSecurityCode: ContentType

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

CreditCardExpirationDate

Source set: Common
public val CreditCardExpirationDate: ContentType

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

CreditCardExpirationMonth

Source set: Common
public val CreditCardExpirationMonth: ContentType

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

CreditCardExpirationYear

Source set: Common
public val CreditCardExpirationYear: ContentType

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

CreditCardExpirationDay

Source set: Common
public val CreditCardExpirationDay: ContentType

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

AddressCountry

Source set: Common
public val AddressCountry: ContentType

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

AddressRegion

Source set: Common
public val AddressRegion: ContentType

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

AddressLocality

Source set: Common
public val AddressLocality: ContentType

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

AddressStreet

Source set: Common
public val AddressStreet: ContentType

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

AddressAuxiliaryDetails

Source set: Common
public val AddressAuxiliaryDetails: ContentType

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

PostalCodeExtended

Source set: Common
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

Source set: Common
public val PersonFullName: ContentType

Indicates that the associated component can be autofilled with a person's full name.

PersonFirstName

Source set: Common
public val PersonFirstName: ContentType

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

PersonLastName

Source set: Common
public val PersonLastName: ContentType

Indicates that the associated component can be autofilled with a person's last/family name.

PersonMiddleName

Source set: Common
public val PersonMiddleName: ContentType

Indicates that the associated component can be autofilled with a person's middle name.

PersonMiddleInitial

Source set: Common
public val PersonMiddleInitial: ContentType

Indicates that the associated component can be autofilled with a person's middle initial.

PersonNamePrefix

Source set: Common
public val PersonNamePrefix: ContentType

Indicates that the associated component can be autofilled with a person's name prefix.

PersonNameSuffix

Source set: Common
public val PersonNameSuffix: ContentType

Indicates that the associated component can be autofilled with a person's name suffix.

PhoneNumber

Source set: Common
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

Source set: Common
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

Source set: Common
public val PhoneCountryCode: ContentType

Indicates that the associated component can be autofilled with a phone number's country code.

PhoneNumberNational

Source set: Common
public val PhoneNumberNational: ContentType

Indicates that the associated component can be autofilled with a phone number without country code.

Gender

Source set: Common
public val Gender: ContentType

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

BirthDateFull

Source set: Common
public val BirthDateFull: ContentType

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

BirthDateDay

Source set: Common
public val BirthDateDay: ContentType

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

BirthDateMonth

Source set: Common
public val BirthDateMonth: ContentType

Indicates that the associated component can be autofilled with a birth month.

BirthDateYear

Source set: Common
public val BirthDateYear: ContentType

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

SmsOtpCode

Source set: Common
public val SmsOtpCode: ContentType

Indicates that the associated component can be autofilled with a SMS One Time Password (OTP).