createFromAutofillValue

Function
Android
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.

Returns

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