다음을 통해 공유


IntentSender.ReadIntentSenderOrNullFromParcel(Parcel) Method

Definition

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

[Android.Runtime.Register("readIntentSenderOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/content/IntentSender;", "")]
public static Android.Content.IntentSender? ReadIntentSenderOrNullFromParcel (Android.OS.Parcel? in);
[<Android.Runtime.Register("readIntentSenderOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/content/IntentSender;", "")>]
static member ReadIntentSenderOrNullFromParcel : Android.OS.Parcel -> Android.Content.IntentSender

Parameters

in
Parcel

The Parcel containing the written Messenger.

Returns

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

Attributes

Remarks

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

Java documentation for android.content.IntentSender.readIntentSenderOrNullFromParcel(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