FillResponse
class FillResponse : Parcelable
| kotlin.Any | |
| ↳ | android.service.autofill.FillResponse |
See the main AutofillService documentation for more details and examples.
Summary
| Nested classes | |
|---|---|
|
Builder for |
|
| Constants | |
|---|---|
| static Int |
Flag used to request to wait for a delayed fill from the remote Autofill service if it's passed to |
| static Int |
Flag used to change the behavior of |
| static Int |
Flag used to generate |
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| String |
toString() |
| Unit |
writeToParcel(parcel: Parcel, flags: Int) |
| Properties | |
|---|---|
| static Parcelable.Creator<FillResponse!> | |
Constants
FLAG_DELAY_FILL
static val FLAG_DELAY_FILL: Int
Flag used to request to wait for a delayed fill from the remote Autofill service if it's passed to Builder.setFlags(int).
Some datasets (i.e. OTP) take time to produce. This flags allows remote service to send a FillResponse to the latest FillRequest via FillRequest.getDelayedFillIntentSender() even if the original FillCallback has timed out.
Value: 4FLAG_DISABLE_ACTIVITY_ONLY
static val FLAG_DISABLE_ACTIVITY_ONLY: Int
Flag used to change the behavior of FillResponse.Builder.disableAutofill(long)— when this flag is passed to Builder.setFlags(int), autofill is disabled only for the activiy that generated the FillRequest, not the whole app.
Value: 2FLAG_TRACK_CONTEXT_COMMITED
static val FLAG_TRACK_CONTEXT_COMMITED: Int
Flag used to generate events of type FillEventHistory.Event.TYPE_CONTEXT_COMMITTED—if this flag is not passed to Builder.setFlags(int), these events are not generated.
Value: 1Public methods
describeContents
fun describeContents(): Int
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
toString
fun toString(): String
| Return | |
|---|---|
String |
a string representation of the object. |
writeToParcel
fun writeToParcel(
parcel: Parcel,
flags: Int
): Unit
| Parameters | |
|---|---|
dest |
The Parcel in which the object should be written. This value cannot be null. |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |