Language

PendingIntent.WritePendingIntentOrNullToParcel(PendingIntent, Parcel) Method

Definition

Convenience function for writing either a PendingIntent or null pointer to a Parcel.

[Android.Runtime.Register("writePendingIntentOrNullToParcel", "(Landroid/app/PendingIntent;Landroid/os/Parcel;)V", "")]
public static void WritePendingIntentOrNullToParcel(Android.App.PendingIntent? sender, Android.OS.Parcel out);
[<Android.Runtime.Register("writePendingIntentOrNullToParcel", "(Landroid/app/PendingIntent;Landroid/os/Parcel;)V", "")>]
static member WritePendingIntentOrNullToParcel : Android.App.PendingIntent * Android.OS.Parcel -> unit

Parameters

sender
PendingIntent

PendingIntent: The PendingIntent to write, or null.

out
Parcel

Parcel: Where to write the PendingIntent. This value cannot be null.

Attributes

Remarks

Convenience function for writing either a PendingIntent or null pointer to a Parcel. You must use this with readPendingIntentOrNullFromParcel(Parcel) for later reading it.

Android reference for android.app.PendingIntent.writePendingIntentOrNullToParcel.

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