Language

Instrumentation.ActivityMonitor.IsBlocking Property

Definition

Gets the blocking flag supplied to the monitor's constructor.

public bool IsBlocking { [Android.Runtime.Register("isBlocking", "()Z", "")] get; }
[<get: Android.Runtime.Register("isBlocking", "()Z", "")>]
member this.IsBlocking : bool

Property Value

The flag that controls whether a matching activity start is blocked for a filter or class monitor.

Attributes

Remarks

A monitor created with the parameterless constructor has this flag set to false, but can still block a start by returning a result from OnStartActivity(Intent).

Android reference for android.app.Instrumentation.ActivityMonitor.isBlocking.

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