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


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

<div class='sourceset sourceset-common'>Common</div>



```kotlin
interface FillableData
```


Represents a single piece of data for autofill purposes.

An instance of `FillableData` is expected to hold a value of a single specific type. Consumers
can use the corresponding property to retrieve the value. For any given instance, only the
property that matches the underlying data's type will return a non-null value. All other
properties will return `null`.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val textValue: CharSequence?
```


The `CharSequence` (text) representation of the data, or `null` if none is available.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val booleanValue: Boolean?
```


The `Boolean` representation of the data, or `null` if none is available.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val listIndexValue: Int?
```


The `Int` (integer) representation of the data, or `null` if none is available.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val dateMillisValue: Long?
```


The date in milliseconds since epoch, or `null` if none is available.



## Functions



<h2 id="getlistindexordefault-defaultvalue">getListIndexOrDefault</h2>

```kotlin
fun getListIndexOrDefault(defaultValue: Int): Int
```


Returns the list index value if it is available, otherwise returns the `defaultValue`.




<hr class="docs-overload-divider">


<h2 id="getdatemillisordefault-defaultvalue">getDateMillisOrDefault</h2>

```kotlin
fun getDateMillisOrDefault(defaultValue: Long): Long
```


Returns the date in milliseconds value if it is available, otherwise returns the
`defaultValue`.