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.
This method was deprecated in API level 29.
public static bool IsRunningInTestHarness { [Android.Runtime.Register("isRunningInTestHarness", "()Z", "")] get; }
[<get: Android.Runtime.Register("isRunningInTestHarness", "()Z", "")>]
static member IsRunningInTestHarness : bool
Property Value
- Attributes
Remarks
This method was deprecated in API level 29. this method is false for all user builds. Users looking to check if their device is running in a device farm should see isRunningInUserTestHarness().
Returns "true" if device is running in a test harness.
Android reference 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.