Package 

Class EmulatorKt

    • Method Summary

      Modifier and Type Method Description
      final static EmulatorEvidence detectEmulator(BuildProfile p, Set<String> presentPaths, Integer sensorCount, Boolean hasTelephony, List<String> hardwareTells) Pure emulator heuristic.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • detectEmulator

         final static EmulatorEvidence detectEmulator(BuildProfile p, Set<String> presentPaths, Integer sensorCount, Boolean hasTelephony, List<String> hardwareTells)

        Pure emulator heuristic.

        Parameters:
        p - snapshot of android.os.
        presentPaths - which of EMULATOR_PATHS actually exist
        sensorCount - number of sensors, or null if not read.
        hasTelephony - whether the device has telephony hardware, or null