ActivityManager.IsRunningInTestHarness Property

Definition

Returns "true" if device is running in a test harness.

public static bool IsRunningInTestHarness { [Android.Runtime.Register("isRunningInTestHarness", "()Z", "")] get; }
[<get: Android.Runtime.Register("isRunningInTestHarness", "()Z", "")>]
static member IsRunningInTestHarness : bool

Property Value

Attributes

Remarks

Returns "true" if device is running in a test harness.

This member is deprecated. this method is false for all user builds. Users looking to check if their device is running in a device farm should see #isRunningInUserTestHarness().

Java documentation for android.app.ActivityManager.isRunningInTestHarness().

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