Correct use cases for Android ActivityManager.isUserAMonkey ()?

I watched the new APIs introduced in Android 2.2. Looking at the ActivityManager class, I came across the following method:

public static boolean isUserAMonkey()

Used to determine if the user making this call is subject to teleportation.

Returns whether the user making this call is a monkey.

How and when should it be used?

+4
source share
2 answers

as per android docs docs

Returns "true" if the user interface is currently being messed with by a monkey. 

to find out what the app is testing using monkey or not

+3
source

, , . , .

, , , .: clickMe

+1

All Articles