public enum CaptureType extends java.lang.Enum<CaptureType>
This enumeration represents the device capture type: Slapped or rolled.
Enum Constant and Description |
---|
FOUR_FINGERS |
LEFT_PALM_LOWER |
LEFT_PALM_UPPER |
LEFT_PALM_WRITERS |
RIGHT_PALM_LOWER |
RIGHT_PALM_UPPER |
RIGHT_PALM_WRITERS |
ROLLED |
SLAPPED |
TWO_FINGERS |
TWO_THUMBS |
Modifier and Type | Method and Description |
---|---|
static CaptureType |
fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
|
int |
value()
Gets the enumaration object value.
|
static CaptureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CaptureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureType SLAPPED
public static final CaptureType ROLLED
public static final CaptureType TWO_FINGERS
public static final CaptureType FOUR_FINGERS
public static final CaptureType TWO_THUMBS
public static final CaptureType RIGHT_PALM_UPPER
public static final CaptureType RIGHT_PALM_LOWER
public static final CaptureType RIGHT_PALM_WRITERS
public static final CaptureType LEFT_PALM_UPPER
public static final CaptureType LEFT_PALM_LOWER
public static final CaptureType LEFT_PALM_WRITERS
public static CaptureType[] values()
for (CaptureType c : CaptureType.values()) System.out.println(c);
public static CaptureType 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 int value()
Gets the enumaration object value.
public static CaptureType fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
value
-