toAutofillValue

Function

Android
fun FillableData.toAutofillValue(): AutofillValue?

Retrieves the underlying platform AutofillValue from the FillableData.

Returns

The platform AutofillValue, or null if the FillableData is not an instance of AndroidFillableData or the platform version is lower than Build.VERSION_CODES.O.