UiAutomation.WaitForIdle(Int64, Int64) UiAutomation.WaitForIdle(Int64, Int64) Method

Definition

Waits for the accessibility event stream to become idle, which is not to have received an accessibility event within idleTimeoutMillis.

[Android.Runtime.Register("waitForIdle", "(JJ)V", "")]
public void WaitForIdle (long idleTimeoutMillis, long globalTimeoutMillis);
member this.WaitForIdle : int64 * int64 -> unit

Parameters

idleTimeoutMillis
Int64 Int64

The timeout in milliseconds between two events to consider the device idle.

globalTimeoutMillis
Int64 Int64

The maximal global timeout in milliseconds in which to wait for an idle state.

Exceptions

If no idle state was detected within globalTimeoutMillis.

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