public enum CodeState extends Enum<CodeState>
Enum Constant and Description |
---|
BLURRY
A code belonging to ScanTrust has been detected, but has been classified as too blurry
|
FP_NOT_IN_FRAME
A hybrid-outside code belonging to ScanTrust has been detected, but the external fingerprint zone is not in the frame
|
GLARE
A code belonging to ScanTrust has been detected, but has been classified as having glare
|
NO_AUTH
A code with no authentication feature belonging to ScanTrust has be found
|
NOT_PROPRIETARY
A code has been detected, but it doesn't belong to ScanTrust
|
OK
The code belongs to ScanTrust and all the constraints are met
|
TOO_SMALL
A code belonging to ScanTrust has been detected, but the minimum size constraint has failed
|
UNREADABLE
No QR code has been detected by the reader or the QR code that has been detected does not have all four required pattern centres
|
Modifier and Type | Method and Description |
---|---|
int |
getState() |
static CodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeState UNREADABLE
public static final CodeState OK
public static final CodeState TOO_SMALL
public static final CodeState BLURRY
public static final CodeState NOT_PROPRIETARY
public static final CodeState FP_NOT_IN_FRAME
public static final CodeState NO_AUTH
public static final CodeState GLARE
public static CodeState[] values()
for (CodeState c : CodeState.values()) System.out.println(c);
public static CodeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getState()