public static enum NxtRobot.ConnectState extends java.lang.Enum<NxtRobot.ConnectState>
| Enum Constant and Description | 
|---|
BLUETOOTH_NOT_ENABLED
Bluetooth not enabled on Android device. 
 | 
BLUETOOTH_NOT_SUPPORTED
Android device does not support Bluetooth, 
 | 
CONNECTED
Connection successful. 
 | 
CONNECTION_FAILED
No connection due to service search failure 
 (NXT turned off, not in range, not ready to accept commands). 
 | 
DEVICE_NOT_FOUND
NXT and Android device not paired (bonded). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static NxtRobot.ConnectState | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static NxtRobot.ConnectState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final NxtRobot.ConnectState CONNECTED
public static final NxtRobot.ConnectState CONNECTION_FAILED
public static final NxtRobot.ConnectState BLUETOOTH_NOT_SUPPORTED
public static final NxtRobot.ConnectState BLUETOOTH_NOT_ENABLED
public static final NxtRobot.ConnectState DEVICE_NOT_FOUND
public static NxtRobot.ConnectState[] values()
for (NxtRobot.ConnectState c : NxtRobot.ConnectState.values()) System.out.println(c);
public static NxtRobot.ConnectState 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