Android.App.Instrumentation.WaitForMonitorWithTimeout Method
Wait for an existing NoType:android/app/Instrumentation$ActivityMonitor;Href=../../../reference/android/app/Instrumentation.ActivityMonitor.html to be hit till the timeout expires.

Syntax

[Android.Runtime.Register("waitForMonitorWithTimeout", "(Landroid/app/Instrumentation$ActivityMonitor;J)Landroid/app/Activity;", "GetWaitForMonitorWithTimeout_Landroid_app_Instrumentation_ActivityMonitor_JHandler")]
public virtual Activity WaitForMonitorWithTimeout (Instrumentation.ActivityMonitor monitor, long timeOut)

Parameters

monitor
The ActivityMonitor to wait for.
timeOut
The timeout value in secs.

Returns

Documentation for this section has not yet been entered.

Remarks

Wait for an existing NoType:android/app/Instrumentation$ActivityMonitor;Href=../../../reference/android/app/Instrumentation.ActivityMonitor.html to be hit till the timeout expires. Once the monitor has been hit, it is removed from the activity monitor list and the first created Activity object that matched it is returned. If the timeout expires, a null object is returned.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1