Result of
PasswordComplexityServiceClient.getPasswordComplexity()
to indicate screen lock
complexity, or type of error if check fails.
Constant Summary
int | ACCESS_DENIED | |
int | DA_NOT_ACTIVE | |
int | FEATURE_OFF | |
int | PASSWORD_COMPLEXITY_HIGH |
Screen lock satisfies one of the following:
Note that these complexity constants are ordered so that higher values are more complex. |
int | PASSWORD_COMPLEXITY_LOW | Screen lock is one of pattern, PIN, or password. |
int | PASSWORD_COMPLEXITY_MEDIUM |
Screen lock satisfies one of the following:
Note that these complexity constants are ordered so that higher values are more complex. |
int | PASSWORD_COMPLEXITY_NONE | No screen lock. |
int | SDK_VER_TOO_HIGH | |
int | SDK_VER_TOO_LOW | |
int | UNKNOWN |
Inherited Method Summary
Constants
public static final int ACCESS_DENIED
public static final int DA_NOT_ACTIVE
public static final int FEATURE_OFF
public static final int PASSWORD_COMPLEXITY_HIGH
Screen lock satisfies one of the following:
- PIN withnorepeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 4 (only supported on Android Lollipop or above)
- Alpha betic, length at least 6
- Alpha numeric, length at least 6
Note that these complexity constants are ordered so that higher values are more complex.
public static final int PASSWORD_COMPLEXITY_LOW
Screen lock is one of pattern, PIN, or password.
Note that these complexity constants are ordered so that higher values are more complex.
public static final int PASSWORD_COMPLEXITY_MEDIUM
Screen lock satisfies one of the following:
- PIN withnorepeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 4 (only supported on Android Lollipop or above)
- Alpha betic, length at least 4
- Alpha numeric, length at least 4
Note that these complexity constants are ordered so that higher values are more complex.
public static final int PASSWORD_COMPLEXITY_NONE
No screen lock.
Note that these complexity constants are ordered so that higher values are more complex.