-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum RxBleClient.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLUETOOTH_NOT_AVAILABLEBluetooth Adapter is not available on the given OS. Most functions will throw UnsupportedOperationException when called.
LOCATION_PERMISSION_NOT_GRANTEDRuntime location permission is not given. Scanning will not work. Used on API >=23.
APIs 23-28 – ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION
APIs 29-30 - ACCESS_FINE_LOCATION
APIs 31+ - BLUETOOTH_SCAN and ACCESS_FINE_LOCATION (if BLUETOOTH_SCAN does not have neverForLocation flag)
BLUETOOTH_NOT_ENABLEDBluetooth Adapter is not switched on. Scanning and connecting to a device will not work.
LOCATION_SERVICES_NOT_ENABLEDLocation Services are switched off. Scanning will not work. Used on API >=23.
READYEverything is ready to be used.
-
Method Summary
Modifier and Type Method Description static Array<RxBleClient.State>values()static RxBleClient.StatevalueOf(String name)-
-
Method Detail
-
values
static Array<RxBleClient.State> values()
-
valueOf
static RxBleClient.State valueOf(String name)
-
-
-
-