public enum ScanMode extends Enum<ScanMode>
Enum Constant and Description |
---|
MultiTag
When in "Multi-tag" mode, the device starts scanning for tags as long as
the trigger is held down, and it won't stop scanning until the trigger
has been released.
|
SingleTag
When in "Single tag" mode, the device starts scanning for tags when the
trigger is held down, and it won't stop scanning until one of the
following condition is met: (1) A tag is read. (2) The time interval
specified (1~254 sec.) expires. (3) The trigger has been released.
|
Test
Do not use
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ScanMode |
valueOf(int value) |
static ScanMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanMode SingleTag
public static final ScanMode Test
public static final ScanMode MultiTag
public static ScanMode[] values()
for (ScanMode c : ScanMode.values()) System.out.println(c);
public static ScanMode 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 getValue()
public static ScanMode valueOf(int value)