public static enum RxBLEProtocol.EventType extends java.lang.Enum<RxBLEProtocol.EventType>
Enum Constant and Description |
---|
BLUETOOTH_COMMUNICATION_CHANEL_SETUP |
BLUETOOTH_CONNECTED |
BLUETOOTH_CONNECTING |
BLUETOOTH_SERVICE_DISCOVERED |
Modifier and Type | Method and Description |
---|---|
static RxBLEProtocol.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RxBLEProtocol.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RxBLEProtocol.EventType BLUETOOTH_SERVICE_DISCOVERED
public static final RxBLEProtocol.EventType BLUETOOTH_COMMUNICATION_CHANEL_SETUP
public static final RxBLEProtocol.EventType BLUETOOTH_CONNECTING
public static final RxBLEProtocol.EventType BLUETOOTH_CONNECTED
public static RxBLEProtocol.EventType[] values()
for (RxBLEProtocol.EventType c : RxBLEProtocol.EventType.values()) System.out.println(c);
public static RxBLEProtocol.EventType 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