Language

ParameterCapability.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Writes this parameter's identity, support state, type, and capabilities 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 serializes the name, support and mutability flags, type code, and capability bundle in the order read by the parcel constructor.

Applies to