ActivityManager.IsRunningInTestHarness Property
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.
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.