Android.OS.Handler.ObtainMessage Method
Same as Handler.ObtainMessage, except that it also sets the what, obj, arg1,and arg2 values on the returned Message.

Syntax

[Android.Runtime.Register("obtainMessage", "(IIILjava/lang/Object;)Landroid/os/Message;", "")]
public Message ObtainMessage (int what, int arg1, int arg2, Java.Lang.Object obj)

Parameters

what
Value to assign to the returned Message.what field.
arg1
Value to assign to the returned Message.arg1 field.
arg2
Value to assign to the returned Message.arg2 field.
obj
Value to assign to the returned Message.obj field.

Returns

Documentation for this section has not yet been entered.

Remarks

Same as Handler.ObtainMessage, except that it also sets the what, obj, arg1,and arg2 values on the returned Message.

[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