Freigeben über


Instrumentation.WaitForIdle Method

Definition

Overloads

WaitForIdle(IRunnable)

Schedule a callback for when the application's main thread goes idle (has no more events to process).

WaitForIdle(Action)

WaitForIdle(IRunnable)

Schedule a callback for when the application's main thread goes idle (has no more events to process).

[Android.Runtime.Register("waitForIdle", "(Ljava/lang/Runnable;)V", "GetWaitForIdle_Ljava_lang_Runnable_Handler")]
public virtual void WaitForIdle (Java.Lang.IRunnable? recipient);
[<Android.Runtime.Register("waitForIdle", "(Ljava/lang/Runnable;)V", "GetWaitForIdle_Ljava_lang_Runnable_Handler")>]
abstract member WaitForIdle : Java.Lang.IRunnable -> unit
override this.WaitForIdle : Java.Lang.IRunnable -> unit

Parameters

recipient
IRunnable

Called the next time the thread's message queue is idle.

Attributes

Remarks

Schedule a callback for when the application's main thread goes idle (has no more events to process).

Java documentation for android.app.Instrumentation.waitForIdle(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

WaitForIdle(Action)

public void WaitForIdle (Action recipient);
member this.WaitForIdle : Action -> unit

Parameters

recipient
Action

Remarks

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