Added in API level 28
BatchUpdates
class BatchUpdates : Parcelable
kotlin.Any | |
↳ | android.service.autofill.BatchUpdates |
Defines actions to be applied to a template presentation
.
It supports 2 types of actions:
Actions
to be applied to the template.Transformations
to be applied on child views.
Typically used on custom descriptions
to conditionally display differents views based on user input - see CustomDescription.Builder.batchUpdate(Validator, BatchUpdates)
for more information.
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
String |
toString() |
Unit |
writeToParcel(dest: Parcel, flags: Int) |
Properties | |
---|---|
static Parcelable.Creator<BatchUpdates!> |
Public methods
describeContents
Added in API level 28
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
Added in API level 28
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
writeToParcel
Added in API level 28
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Parameters | |
---|---|
dest |
Parcel: 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 |