Freigeben über


PersistableBundle.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Writes the PersistableBundle contents to a Parcel, typically in order for it to be passed through an IBinder connection.

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

Parameters

parcel
Parcel

The parcel to copy this bundle to.

flags
ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or ParcelableWriteReturnValue.

Implements

Attributes

Remarks

Writes the PersistableBundle contents to a Parcel, typically in order for it to be passed through an IBinder connection.

Java documentation for android.os.PersistableBundle.writeToParcel(android.os.Parcel, 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