Sdílet prostřednictvím


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

The PendingIntent to write, or null.

out
Parcel

Where to write the PendingIntent.

Attributes

Remarks

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

Java documentation for android.app.PendingIntent.writePendingIntentOrNullToParcel(android.app.PendingIntent, 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