Sdílet prostřednictvím


MessageQueue.IIdleHandler.QueueIdle Method

Definition

Called when the message queue has run out of messages and will now wait for more.

[Android.Runtime.Register("queueIdle", "()Z", "GetQueueIdleHandler:Android.OS.MessageQueue/IIdleHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool QueueIdle ();
[<Android.Runtime.Register("queueIdle", "()Z", "GetQueueIdleHandler:Android.OS.MessageQueue/IIdleHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member QueueIdle : unit -> bool

Returns

Attributes

Remarks

Called when the message queue has run out of messages and will now wait for more. Return true to keep your idle handler active, false to have it removed. This may be called if there are still messages pending in the queue, but they are all scheduled to be dispatched after the current time.

Java documentation for android.os.MessageQueue.IdleHandler.queueIdle().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to