Instrumentation.WaitForIdleSync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.