public enum BluetoothResponse extends java.lang.Enum<BluetoothResponse>
BluetoothResponseToken
Enum Constant and Description |
---|
COMMAND_DISCONNECT |
COMMAND_REQUESTCONNECT |
COMMAND_REQUESTPAIR |
COMMAND_SCAN |
RESPONSE_ACCEPTCONNECT |
RESPONSE_ACCEPTPAIR |
RESPONSE_DENY |
RESPONSE_FINDME |
RESPONSE_OK |
Modifier and Type | Method and Description |
---|---|
static BluetoothResponse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothResponse RESPONSE_OK
public static final BluetoothResponse RESPONSE_DENY
public static final BluetoothResponse RESPONSE_ACCEPTCONNECT
public static final BluetoothResponse RESPONSE_ACCEPTPAIR
public static final BluetoothResponse RESPONSE_FINDME
public static final BluetoothResponse COMMAND_REQUESTPAIR
public static final BluetoothResponse COMMAND_REQUESTCONNECT
public static final BluetoothResponse COMMAND_DISCONNECT
public static final BluetoothResponse COMMAND_SCAN
public static BluetoothResponse[] values()
for (BluetoothResponse c : BluetoothResponse.values()) System.out.println(c);
public static BluetoothResponse 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