public enum SecurityCheckType extends java.lang.Enum<SecurityCheckType>
| Enum Constant and Description |
|---|
ALLOW_BACKUP_DISABLED
Detect whether the allowBackup flag is enabled for the application.
|
HAS_ENCRYPTION_ENABLED
Detect whether a devices filesystem is encrypted.
|
NO_DEBUGGER
Detect if a device is in debug mode See
NoDebuggerCheck |
NO_DEVELOPER_MODE
Detect if developer mode is enabled in the device.
|
NOT_IN_EMULATOR
Detect whether the device is emulated.
|
NOT_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 |
|---|---|
SecurityCheck |
getSecurityCheck()
Gets the security check.
|
java.lang.String |
getType()
Gets the type of 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 NOT_ROOTED
NonRootedCheckpublic static final SecurityCheckType NO_DEVELOPER_MODE
DeveloperModeDisabledCheckpublic static final SecurityCheckType NO_DEBUGGER
NoDebuggerCheckpublic static final SecurityCheckType NOT_IN_EMULATOR
NotInEmulatorCheckpublic static final SecurityCheckType SCREEN_LOCK_ENABLED
ScreenLockCheckpublic static final SecurityCheckType ALLOW_BACKUP_DISABLED
BackupDisallowedCheckpublic 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 getType()
String SecurityCheck.getId()