public static enum StatusData.ScanAndPairStates extends java.lang.Enum<StatusData.ScanAndPairStates>
Enum Constant and Description |
---|
DISCOVERING
Discovering the Bluetooth device to be paired.
|
ERROR
Error occurred during the scan and pair or unpair.
|
PAIRED
The Bluetooth device is paired.
|
SCANNING
Scanner beam is on and it is acquiring data.
|
UNDEFINED
Undefined.
|
UNPAIRED
The Bluetooth device is unpaired.
|
WAITING
Scanner is waiting for hard trigger press
|
Modifier and Type | Method and Description |
---|---|
static StatusData.ScanAndPairStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusData.ScanAndPairStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusData.ScanAndPairStates WAITING
public static final StatusData.ScanAndPairStates SCANNING
public static final StatusData.ScanAndPairStates DISCOVERING
public static final StatusData.ScanAndPairStates PAIRED
public static final StatusData.ScanAndPairStates UNPAIRED
public static final StatusData.ScanAndPairStates ERROR
public static final StatusData.ScanAndPairStates UNDEFINED
public static StatusData.ScanAndPairStates[] values()
for (StatusData.ScanAndPairStates c : StatusData.ScanAndPairStates.values()) System.out.println(c);
public static StatusData.ScanAndPairStates 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