Android Guides | Samples

Android.OS.IParcelable.WriteToParcel Method

Flatten this object in to a Parcel.

Syntax

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler:Android.OS.IParcelableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Void WriteToParcel (Parcel dest, [Android.Runtime.GeneratedEnum] ParcelableWriteFlags flags)

Parameters

dest
The Parcel in which the object should be written.
flags
Additional flags about how the object should be written. May be 0 or Parcelable.ParcelableWriteReturnValue.

Remarks

Flatten this object in to a Parcel.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1