public enum ScanDelay extends Enum<ScanDelay>
Enum Constant and Description |
---|
Delay_100ms
Delay 100 milliseconds between each scan
|
Delay_20ms
Delay 20 milliseconds between each scan (only 1862)
|
Delay_250ms
Delay 250 milliseconds between each scan
|
Delay_500ms
Delay 500 milliseconds between each scan
|
Delay_50ms
Delay 50 milliseconds between each scan
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ScanDelay |
valueOf(int value) |
static ScanDelay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanDelay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanDelay Delay_20ms
public static final ScanDelay Delay_50ms
public static final ScanDelay Delay_100ms
public static final ScanDelay Delay_250ms
public static final ScanDelay Delay_500ms
public static ScanDelay[] values()
for (ScanDelay c : ScanDelay.values()) System.out.println(c);
public static ScanDelay 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 ScanDelay valueOf(int value)