Język

AmbientBacklightMetadata.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Writes the backlight metadata fields and zone colors to a parcel.

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "", ApiSince=36)]
public void WriteToParcel(Android.OS.Parcel dest, Android.OS.ParcelableWriteFlags flags);
[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "", ApiSince=36)>]
abstract member WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit
override this.WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit

Parameters

dest
Parcel

The Parcel in which the object should be written. This value cannot be null.

flags
ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following: Parcelable.PARCELABLE_WRITE_RETURN_VALUE

Implements

Attributes

Remarks

The Android parcel writer stores the package name, compression algorithm, source, color format, zone dimensions, and color array in the order used by its parcel constructor.

Applies to