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 get method to retrieve the value. For any given instance, only the method that matches the underlying data's type will return a non-null value. All other get methods will return null.

Summary

Public functions

open Boolean?

Retrieves the Boolean representation of the data.

Cmn
open CharSequence?

Retrieves the CharSequence (text) representation of the data.

Cmn
open Int?

Retrieves the Int (integer) representation of the data.

Cmn

Public functions

getBool

open fun getBool(): Boolean?

Retrieves the Boolean representation of the data.

Returns
Boolean?

The Boolean data, or null if none is available.

getCharSequence

open fun getCharSequence(): CharSequence?

Retrieves the CharSequence (text) representation of the data.

Returns
CharSequence?

The CharSequence data, or null if none is available.

getInt

open fun getInt(): Int?

Retrieves the Int (integer) representation of the data.

Returns
Int?

The Int data, or null if none is available.