Android.App.Instrumentation.CheckMonitorHit Method
Test whether an existing NoType:android/app/Instrumentation$ActivityMonitor;Href=../../../reference/android/app/Instrumentation.ActivityMonitor.html has been hit.

Syntax

[Android.Runtime.Register("checkMonitorHit", "(Landroid/app/Instrumentation$ActivityMonitor;I)Z", "GetCheckMonitorHit_Landroid_app_Instrumentation_ActivityMonitor_IHandler")]
public virtual bool CheckMonitorHit (Instrumentation.ActivityMonitor monitor, int minHits)

See Also

Instrumentation.AddMonitor(.ActivityMonitor)

Parameters

monitor
The ActivityMonitor to check.
minHits
The minimum number of hits required.

Returns

Documentation for this section has not yet been entered.

Remarks

Test whether an existing NoType:android/app/Instrumentation$ActivityMonitor;Href=../../../reference/android/app/Instrumentation.ActivityMonitor.html has been hit. If the monitor has been hit at least minHits times, then it will be removed from the activity monitor list and true returned. Otherwise it is left as-is and false 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