Function

createFromAutofillValue

Creates a FillableData from the platform AutofillValue type.

createFromAutofillValue

Source set: Android
public fun FillableData.Companion.createFromAutofillValue(
    autofillValue: AutofillValue
): FillableData?

Creates a FillableData from the platform AutofillValue type.

Parameters

autofillValue The platform autofill value to create the FillableData from.

Return

A FillableData object containing the platform autofill data, or null if the platform version is lower than Build.VERSION_CODES.O.

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: