Share via


Messenger.ReadMessengerOrNullFromParcel(Parcel) Method

Definition

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

[Android.Runtime.Register("readMessengerOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/os/Messenger;", "")]
public static Android.OS.Messenger? ReadMessengerOrNullFromParcel (Android.OS.Parcel? in);
[<Android.Runtime.Register("readMessengerOrNullFromParcel", "(Landroid/os/Parcel;)Landroid/os/Messenger;", "")>]
static member ReadMessengerOrNullFromParcel : Android.OS.Parcel -> Android.OS.Messenger

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 #writeMessengerOrNullToParcel.

Java documentation for android.os.Messenger.readMessengerOrNullFromParcel(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