public enum SecurityCheckType extends java.lang.Enum<SecurityCheckType>
| Enum Constant and Description |
|---|
ALLOW_BACKUP_ENABLED
Detect whether the allowBackup flag is enabled for the application.
|
HAS_ENCRYPTION_ENABLED
Detect whether a devices filesystem is encrypted.
|
IS_DEBUGGER
Detect if a device is in debug mode See
DebuggerCheck |
IS_DEVELOPER_MODE
Detect if developer mode is enabled in the device.
|
IS_EMULATOR
Detect whether the device is emulated.
|
IS_ROOTED
Detect whether the device is rooted.
|
SCREEN_LOCK_ENABLED
Detect whether a screen lock is enabled (PIN, Password etc).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of the security check.
|
SecurityCheck |
getSecurityCheck()
Gets the security check.
|
static SecurityCheckType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityCheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityCheckType IS_ROOTED
RootedCheckpublic static final SecurityCheckType IS_DEVELOPER_MODE
DeveloperModeCheckpublic static final SecurityCheckType IS_DEBUGGER
DebuggerCheckpublic static final SecurityCheckType IS_EMULATOR
EmulatorCheckpublic static final SecurityCheckType SCREEN_LOCK_ENABLED
ScreenLockCheckpublic static final SecurityCheckType ALLOW_BACKUP_ENABLED
AllowBackupFlagCheckpublic static final SecurityCheckType HAS_ENCRYPTION_ENABLED
EncryptionCheckpublic static SecurityCheckType[] values()
for (SecurityCheckType c : SecurityCheckType.values()) System.out.println(c);
public static SecurityCheckType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic SecurityCheck getSecurityCheck()
SecurityCheck instancepublic java.lang.String getName()
String SecurityCheck.getName()