Android.OS.Messenger Class
Reference to a Handler, which others can use to send messages to it.

See Also: Messenger Members

Syntax

[Android.Runtime.Register("android/os/Messenger", DoNotGenerateAcw=true)]
public sealed class Messenger : Java.Lang.Object, IParcelable, IDisposable

Remarks

Reference to a Handler, which others can use to send messages to it. This allows for the implementation of message-based communication across processes, by creating a Messenger pointing to a Handler in one process, and handing that Messenger to another process.

Note: the implementation underneath is just a simple wrapper around a Android.OS.Binder that is used to perform the communication. This means semantically you should treat it as such: this class does not impact process lifecycle management (you must be using some higher-level component to tell the system that your process needs to continue running), the connection will break if your process goes away for any reason, etc.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1