Freigeben über


ComponentName.WriteToParcel Method

Definition

Overloads

WriteToParcel(ComponentName, Parcel)

Write a ComponentName to a Parcel, handling null pointers.

WriteToParcel(Parcel, ParcelableWriteFlags)

Write a ComponentName to a Parcel, handling null pointers.

WriteToParcel(ComponentName, Parcel)

Write a ComponentName to a Parcel, handling null pointers.

[Android.Runtime.Register("writeToParcel", "(Landroid/content/ComponentName;Landroid/os/Parcel;)V", "")]
public static void WriteToParcel (Android.Content.ComponentName? c, Android.OS.Parcel? out);
[<Android.Runtime.Register("writeToParcel", "(Landroid/content/ComponentName;Landroid/os/Parcel;)V", "")>]
static member WriteToParcel : Android.Content.ComponentName * Android.OS.Parcel -> unit

Parameters

c
ComponentName

The ComponentName to be written.

out
Parcel

The Parcel in which the ComponentName will be placed.

Attributes

Remarks

Write a ComponentName to a Parcel, handling null pointers. Must be read with #readFromParcel(Parcel).

Java documentation for android.content.ComponentName.writeToParcel(android.content.ComponentName, android.os.Parcel).

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.

See also

Applies to

WriteToParcel(Parcel, ParcelableWriteFlags)

Write a ComponentName to a Parcel, handling null pointers.

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel (Android.OS.Parcel? out, 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

out
Parcel

The Parcel in which the ComponentName will be placed.

flags
ParcelableWriteFlags

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

Implements

Attributes

Remarks

Java documentation for android.content.ComponentName.writeToParcel(android.content.ComponentName, android.os.Parcel).

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