次の方法で共有


PendingIntent.ReadPendingIntentOrNullFromParcel(Parcel) Method

Definition

Convenience function for reading either a PendingIntent or null pointer from a Parcel.

[Android.Runtime.Register("readPendingIntentOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/app/PendingIntent;", "")]
public static Android.App.PendingIntent? ReadPendingIntentOrNullFromParcel (Android.OS.Parcel in);
[<Android.Runtime.Register("readPendingIntentOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/app/PendingIntent;", "")>]
static member ReadPendingIntentOrNullFromParcel : Android.OS.Parcel -> Android.App.PendingIntent

Parameters

in
Parcel

The Parcel containing the written PendingIntent.

Returns

Returns the PendingIntent read from the Parcel, or null if null had been written.

Attributes

Remarks

Convenience function for reading either a PendingIntent or null pointer from a Parcel. You must have previously written the PendingIntent with #writePendingIntentOrNullToParcel.

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