<div class='type'>Function</div>


<a id='references'></a>


<h2 id="createfromautofillvalue-autofillvalue">createFromAutofillValue</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
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`. |