Interface

ContentDataType

Source set: Android
public actual sealed interface ContentDataType

Members

Companion

Source set: Android
public actual companion object

Properties

None

Source set: Android
public val None: ContentDataType = ContentDataType(AUTOFILL_TYPE_NONE)

Text

Source set: Android
public val Text: ContentDataType = ContentDataType(AUTOFILL_TYPE_TEXT)

List

Source set: Android
public val List: ContentDataType = ContentDataType(AUTOFILL_TYPE_LIST)

Date

Source set: Android
public val Date: ContentDataType = ContentDataType(AUTOFILL_TYPE_DATE)

Toggle

Source set: Android
public val Toggle: ContentDataType = ContentDataType(AUTOFILL_TYPE_TOGGLE)
Source set: Common
public expect sealed interface ContentDataType

Content data type information.

Autofill services use the ContentDataType to determine what kind of field is associated with the component.

Members

Companion

Source set: Common
public companion object

Properties

None

Source set: Common
public val None: ContentDataType

Indicates that the associated component does not have a data type, and therefore is not autofillable.

Text

Source set: Common
public val Text: ContentDataType

Indicates that the associated component is a text field.

List

Source set: Common
public val List: ContentDataType

Indicates that the associated component is a list.

Date

Source set: Common
public val Date: ContentDataType

Indicates that the associated component is a date.

Toggle

Source set: Common
public val Toggle: ContentDataType

Indicates that the associated component is a toggle.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: