Android.OS.Handler Members

The members of Android.OS.Handler are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Default constructor associates this handler with the Android.OS.Looper for the current thread.
Constructor associates this handler with the Android.OS.Looper for the current thread and takes a callback interface in which you can handle messages.
Use the provided Android.OS.Looper instead of the default one.
Documentation for this section has not yet been entered.
Use the provided Android.OS.Looper instead of the default one and take a callback interface in which to handle messages.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
LooperLooper.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DispatchMessage(Message)
Handle system messages here.
Dump(Android.Util.IPrinter, string)
DumpAsync(Android.Util.IPrinter, string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
GetMessageName(Message) : string
Returns a string representing the name of the specified message.
HandleMessage(Message)
Subclasses must implement this to receive messages.
HasMessages(int) : bool
Check if there are any pending posts of messages with code 'what' in the message queue.
HasMessages(int, Java.Lang.Object) : bool
Check if there are any pending posts of messages with code 'what' and whose obj is 'object' in the message queue.
ObtainMessage() : Message
Returns a new Android.OS.Message from the global message pool.
ObtainMessage(int) : Message
Same as Handler.ObtainMessage, except that it also sets the what member of the returned Message.
ObtainMessage(int, Java.Lang.Object) : Message
Same as Handler.ObtainMessage, except that it also sets the what and obj members of the returned Message.
ObtainMessage(int, int, int) : Message
Same as Handler.ObtainMessage, except that it also sets the what, arg1 and arg2 members of the returned Message.
ObtainMessage(int, int, int, Java.Lang.Object) : Message
Same as Handler.ObtainMessage, except that it also sets the what, obj, arg1,and arg2 values on the returned Message.
Post(Java.Lang.IRunnable) : bool
Causes the Runnable r to be added to the message queue.
Post(Action) : bool
Documentation for this section has not yet been entered.
PostAtFrontOfQueue(Java.Lang.IRunnable) : bool
Posts a message to an object that implements Runnable.
PostAtFrontOfQueue(Action) : bool
Documentation for this section has not yet been entered.
PostAtTime(Java.Lang.IRunnable, long) : bool
Causes the Runnable r to be added to the message queue, to be run at a specific time given by uptimeMillis.
PostAtTime(Action, long) : bool
Documentation for this section has not yet been entered.
PostAtTime(Java.Lang.IRunnable, Java.Lang.Object, long) : bool
Causes the Runnable r to be added to the message queue, to be run at a specific time given by uptimeMillis.
PostAtTime(Action, Java.Lang.Object, long) : bool
Documentation for this section has not yet been entered.
PostDelayed(Java.Lang.IRunnable, long) : bool
Causes the Runnable r to be added to the message queue, to be run after the specified amount of time elapses.
PostDelayed(Action, long) : bool
Documentation for this section has not yet been entered.
RemoveCallbacks(Java.Lang.IRunnable)
Remove any pending posts of Runnable r that are in the message queue.
RemoveCallbacks(Action)
Documentation for this section has not yet been entered.
RemoveCallbacks(Java.Lang.IRunnable, Java.Lang.Object)
Remove any pending posts of Runnable r with Object token that are in the message queue.
RemoveCallbacks(Action, Java.Lang.Object)
Documentation for this section has not yet been entered.
RemoveCallbacksAndMessages(Java.Lang.Object)
Remove any pending posts of callbacks and sent messages whose obj is token.
RemoveMessages(int)
Remove any pending posts of messages with code 'what' that are in the message queue.
RemoveMessages(int, Java.Lang.Object)
Remove any pending posts of messages with code 'what' and whose obj is 'object' that are in the message queue.
SendEmptyMessage(int) : bool
Sends a Message containing only the what value.
SendEmptyMessageAtTime(int, long) : bool
Sends a Message containing only the what value, to be delivered at a specific time.
SendEmptyMessageDelayed(int, long) : bool
Sends a Message containing only the what value, to be delivered after the specified amount of time elapses.
SendMessage(Message) : bool
Pushes a message onto the end of the message queue after all pending messages before the current time.
SendMessageAtFrontOfQueue(Message) : bool
Enqueue a message at the front of the message queue, to be processed on the next iteration of the message loop.
SendMessageAtTime(Message, long) : bool
Enqueue a message into the message queue after all pending messages before the absolute time (in milliseconds) uptimeMillis.
SendMessageDelayed(Message, long) : bool
Enqueue a message into the message queue after all pending messages before (current time + delayMillis).