public static enum ScanAndPairConfig.TriggerType extends java.lang.Enum<ScanAndPairConfig.TriggerType>
Enum Constant and Description |
---|
HARD
Hardware trigger needs to be manually pressed to turn ON the scanner
|
SOFT
Scanner is turned ON automatically and no need to press any triggers
|
Modifier and Type | Method and Description |
---|---|
static ScanAndPairConfig.TriggerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanAndPairConfig.TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanAndPairConfig.TriggerType SOFT
public static final ScanAndPairConfig.TriggerType HARD
public static ScanAndPairConfig.TriggerType[] values()
for (ScanAndPairConfig.TriggerType c : ScanAndPairConfig.TriggerType.values()) System.out.println(c);
public static ScanAndPairConfig.TriggerType 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 null