public enum CaptureQualityEvent extends Enum<CaptureQualityEvent>
Enum Constant and Description |
---|
NONE |
TIMEOUT_LOW_ACTIVITY
The user has tried to scan for some time, but the quality of the best frame is too poor to be sent to the server.
|
TIMEOUT_LOW_QUALITY
The level of activity during the last portion of the scanning session is very low.
|
TIMEOUT_STRUGGLING
The user has tried to scan for some time and is struggling.
|
TOO_BLURRY
An important number of blurry images have occurred.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CaptureQualityEvent |
valueOf(int captureState) |
static CaptureQualityEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptureQualityEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureQualityEvent NONE
public static final CaptureQualityEvent TOO_BLURRY
public static final CaptureQualityEvent TIMEOUT_STRUGGLING
public static final CaptureQualityEvent TIMEOUT_LOW_ACTIVITY
public static final CaptureQualityEvent TIMEOUT_LOW_QUALITY
public static CaptureQualityEvent[] values()
for (CaptureQualityEvent c : CaptureQualityEvent.values()) System.out.println(c);
public static CaptureQualityEvent 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 static CaptureQualityEvent valueOf(int captureState)
public int getValue()