Share via


Parcel.WriteParcelable(IParcelable, ParcelableWriteFlags) Method

Definition

Flatten the name of the class of the Parcelable and its contents into the parcel.

[Android.Runtime.Register("writeParcelable", "(Landroid/os/Parcelable;I)V", "")]
public void WriteParcelable (Android.OS.IParcelable? p, Android.OS.ParcelableWriteFlags parcelableFlags);
[<Android.Runtime.Register("writeParcelable", "(Landroid/os/Parcelable;I)V", "")>]
member this.WriteParcelable : Android.OS.IParcelable * Android.OS.ParcelableWriteFlags -> unit

Parameters

p
IParcelable

The Parcelable object to be written.

parcelableFlags
ParcelableWriteFlags

Contextual flags as per Parcelable#writeToParcel(Parcel, int) Parcelable.writeToParcel().

Attributes

Remarks

Flatten the name of the class of the Parcelable and its contents into the parcel.

Java documentation for android.os.Parcel.writeParcelable(android.os.Parcelable, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to