Android.OS.Message Class
Defines a message containing a description and arbitrary data object that can be sent to a Android.OS.Handler.

See Also: Message Members

Syntax

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

Remarks

Defines a message containing a description and arbitrary data object that can be sent to a Android.OS.Handler. This object contains two extra int fields and an extra object field that allow you to not do allocations in many cases.

While the constructor of Message is public, the best way to get one of these is to call Message.Obtain or one of the Handler.ObtainMessage methods, which will pull them from a pool of recycled objects.

[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