public static enum RxBleClient.State extends java.lang.Enum<RxBleClient.State>
| Enum Constant and Description |
|---|
BLUETOOTH_NOT_AVAILABLE
Bluetooth Adapter is not available on the given OS.
|
BLUETOOTH_NOT_ENABLED
Bluetooth Adapter is not switched on.
|
LOCATION_PERMISSION_NOT_GRANTED
Location permission is not given.
|
LOCATION_SERVICES_NOT_ENABLED
Location Services are switched off.
|
READY
Everything is ready to be used.
|
| Modifier and Type | Method and Description |
|---|---|
static RxBleClient.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RxBleClient.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RxBleClient.State BLUETOOTH_NOT_AVAILABLE
UnsupportedOperationException when called.public static final RxBleClient.State LOCATION_PERMISSION_NOT_GRANTED
public static final RxBleClient.State BLUETOOTH_NOT_ENABLED
public static final RxBleClient.State LOCATION_SERVICES_NOT_ENABLED
public static final RxBleClient.State READY
public static RxBleClient.State[] values()
for (RxBleClient.State c : RxBleClient.State.values()) System.out.println(c);
public static RxBleClient.State 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