public final class EmulatorDetector
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
EmulatorDetector.OnEmulatorDetectorListener |
| Modifier and Type | Method and Description |
|---|---|
EmulatorDetector |
addPackageName(java.util.List<java.lang.String> pListPackageName) |
EmulatorDetector |
addPackageName(java.lang.String pPackageName) |
void |
detect(EmulatorDetector.OnEmulatorDetectorListener pOnEmulatorDetectorListener) |
static java.lang.String |
getDeviceInfo() |
java.util.List<java.lang.String> |
getPackageNameList() |
boolean |
isCheckPackage() |
boolean |
isCheckTelephony() |
boolean |
isDebug() |
EmulatorDetector |
setCheckPackage(boolean chkPackage) |
EmulatorDetector |
setCheckTelephony(boolean telephony) |
EmulatorDetector |
setDebug(boolean isDebug) |
static EmulatorDetector |
with(android.content.Context pContext) |
public static EmulatorDetector with(android.content.Context pContext)
public EmulatorDetector setDebug(boolean isDebug)
public boolean isDebug()
public boolean isCheckTelephony()
public boolean isCheckPackage()
public EmulatorDetector setCheckTelephony(boolean telephony)
public EmulatorDetector setCheckPackage(boolean chkPackage)
public EmulatorDetector addPackageName(java.lang.String pPackageName)
public EmulatorDetector addPackageName(java.util.List<java.lang.String> pListPackageName)
public java.util.List<java.lang.String> getPackageNameList()
public void detect(EmulatorDetector.OnEmulatorDetectorListener pOnEmulatorDetectorListener)
public static java.lang.String getDeviceInfo()