Android Guides | Samples

Android.Graphics.Bitmap.WriteToParcel Method

Write the bitmap and its pixels to the parcel.

Syntax

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public Void WriteToParcel (Parcel p, ParcelableWriteFlags flags)

Parameters

p
Parcel object to write the bitmap data into
flags
Additional flags about how the object should be written. May be 0 or Parcelable.ParcelableWriteReturnValue.

Remarks

Write the bitmap and its pixels to the parcel. The bitmap can be rebuilt from the parcel by calling CREATOR.createFromParcel().

[Android Documentation]

Requirements

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