Instrumentation.RemoveMonitor(Instrumentation+ActivityMonitor) Method

Definition

Remove an ActivityMonitor that was previously added with #addMonitor.

[Android.Runtime.Register("removeMonitor", "(Landroid/app/Instrumentation$ActivityMonitor;)V", "GetRemoveMonitor_Landroid_app_Instrumentation_ActivityMonitor_Handler")]
public virtual void RemoveMonitor (Android.App.Instrumentation.ActivityMonitor? monitor);
[<Android.Runtime.Register("removeMonitor", "(Landroid/app/Instrumentation$ActivityMonitor;)V", "GetRemoveMonitor_Landroid_app_Instrumentation_ActivityMonitor_Handler")>]
abstract member RemoveMonitor : Android.App.Instrumentation.ActivityMonitor -> unit
override this.RemoveMonitor : Android.App.Instrumentation.ActivityMonitor -> unit

Parameters

monitor
Instrumentation.ActivityMonitor

The monitor to remove.

Attributes

Remarks

Java documentation for android.app.Instrumentation.removeMonitor(android.app.ActivityMonitor).

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)>