Share via


Handler.HasCallbacks(IRunnable) Method

Definition

Check if there are any pending posts of messages with callback r in the message queue.

[Android.Runtime.Register("hasCallbacks", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)]
public bool HasCallbacks (Java.Lang.IRunnable r);
[<Android.Runtime.Register("hasCallbacks", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)>]
member this.HasCallbacks : Java.Lang.IRunnable -> bool

Parameters

Returns

Attributes

Remarks

Check if there are any pending posts of messages with callback r in the message queue.

Java documentation for android.os.Handler.hasCallbacks(java.lang.Runnable).

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