Sdílet prostřednictvím


Messenger.WriteMessengerOrNullToParcel(Messenger, Parcel) Method

Definition

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

[Android.Runtime.Register("writeMessengerOrNullToParcel", "(Landroid/os/Messenger;Landroid/os/Parcel;)V", "")]
public static void WriteMessengerOrNullToParcel (Android.OS.Messenger? messenger, Android.OS.Parcel? out);
[<Android.Runtime.Register("writeMessengerOrNullToParcel", "(Landroid/os/Messenger;Landroid/os/Parcel;)V", "")>]
static member WriteMessengerOrNullToParcel : Android.OS.Messenger * Android.OS.Parcel -> unit

Parameters

messenger
Messenger

The Messenger to write, or null.

out
Parcel

Where to write the Messenger.

Attributes

Remarks

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

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