Udostępnij za pośrednictwem


MessageQueue.IsIdle Property

Definition

Returns true if the looper has no pending messages which are due to be processed.

public virtual bool IsIdle { [Android.Runtime.Register("isIdle", "()Z", "GetIsIdleHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isIdle", "()Z", "GetIsIdleHandler", ApiSince=23)>]
member this.IsIdle : bool

Property Value

True if the looper is idle.

Attributes

Remarks

Returns true if the looper has no pending messages which are due to be processed.

This method is safe to call from any thread.

Java documentation for android.os.MessageQueue.isIdle().

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