Condividi tramite


Parcel.WriteTypedObject(Object, ParcelableWriteFlags) Method

Definition

Flatten the Parcelable object into the parcel.

[Android.Runtime.Register("writeTypedObject", "(Landroid/os/Parcelable;I)V", "", ApiSince=23)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })]
public void WriteTypedObject (Java.Lang.Object? val, Android.OS.ParcelableWriteFlags parcelableFlags);
[<Android.Runtime.Register("writeTypedObject", "(Landroid/os/Parcelable;I)V", "", ApiSince=23)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })>]
member this.WriteTypedObject : Java.Lang.Object * Android.OS.ParcelableWriteFlags -> unit

Parameters

val
Object

The Parcelable object to be written.

parcelableFlags
ParcelableWriteFlags

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

Attributes

Remarks

Flatten the Parcelable object into the parcel.

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