Udostępnij za pośrednictwem


Instrumentation.WaitForIdleSync Method

Definition

Synchronously wait for the application to be idle.

[Android.Runtime.Register("waitForIdleSync", "()V", "GetWaitForIdleSyncHandler")]
public virtual void WaitForIdleSync ();
[<Android.Runtime.Register("waitForIdleSync", "()V", "GetWaitForIdleSyncHandler")>]
abstract member WaitForIdleSync : unit -> unit
override this.WaitForIdleSync : unit -> unit
Attributes

Remarks

Synchronously wait for the application to be idle. Can not be called from the main application thread -- use #start to execute instrumentation in its own thread.

Java documentation for android.app.Instrumentation.waitForIdleSync().

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