Android.OS.MessageQueue.AddIdleHandler Method
Add a new NoType:android/os/MessageQueue$IdleHandler;Href=../../../reference/android/os/MessageQueue.IdleHandler.html to this message queue.

Syntax

[Android.Runtime.Register("addIdleHandler", "(Landroid/os/MessageQueue$IdleHandler;)V", "GetAddIdleHandler_Landroid_os_MessageQueue_IdleHandler_Handler")]
public virtual void AddIdleHandler (MessageQueue.IIdleHandler handler)

Parameters

handler
The IdleHandler to be added.

Remarks

Add a new NoType:android/os/MessageQueue$IdleHandler;Href=../../../reference/android/os/MessageQueue.IdleHandler.html to this message queue. This may be removed automatically for you by returning false from NoType:android/os/MessageQueue$IdleHandler;Href=../../../reference/android/os/MessageQueue.IdleHandler.html#queueIdle() when it is invoked, or explicitly removing it with MessageQueue.RemoveIdleHandler(.IIdleHandler).

This method is safe to call from any thread.

[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