Instrumentation.CheckMonitorHit 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.
Test whether an existing ActivityMonitor
has been hit.
[Android.Runtime.Register("checkMonitorHit", "(Landroid/app/Instrumentation$ActivityMonitor;I)Z", "GetCheckMonitorHit_Landroid_app_Instrumentation_ActivityMonitor_IHandler")]
public virtual bool CheckMonitorHit (Android.App.Instrumentation.ActivityMonitor? monitor, int minHits);
[<Android.Runtime.Register("checkMonitorHit", "(Landroid/app/Instrumentation$ActivityMonitor;I)Z", "GetCheckMonitorHit_Landroid_app_Instrumentation_ActivityMonitor_IHandler")>]
abstract member CheckMonitorHit : Android.App.Instrumentation.ActivityMonitor * int -> bool
override this.CheckMonitorHit : Android.App.Instrumentation.ActivityMonitor * int -> bool
Parameters
- monitor
- Instrumentation.ActivityMonitor
The ActivityMonitor to check.
- minHits
- Int32
The minimum number of hits required.
Returns
True if the hit count has been reached, else false.
- Attributes
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
See also
- <xref:Android.App.Instrumentation.AddMonitor(.ActivityMonitor)>