CBBluetoothState Constants Reference
Declared in | CBConstant.h |
---|---|
References | CBBluetoothManager |
CBBluetoothState
CBBluetoothState
enum represents the current state of a CBBluetoothManager
.
Definition
typedef NS_ENUM(uint8_t, CBBluetoothState ) {
CBBluetoothStateUnknown = 0,
CBBluetoothStateResetting,
CBBluetoothStateUnsupported,
CBBluetoothStateUnauthorized,
CBBluetoothStatePoweredOff,
CBBluetoothStatePoweredOn,
};
Constants
CBBluetoothStateUnknown
-
State unknown, update imminent.
Declared In
CBConstant.h
. CBBluetoothStateResetting
-
The connection with the system service was momentarily lost, update imminent.
Declared In
CBConstant.h
. CBBluetoothStateUnsupported
-
The platform doesn't support the Bluetooth Low Energy Central/Client role.
Declared In
CBConstant.h
. CBBluetoothStateUnauthorized
-
The application is not authorized to use the Bluetooth Low Energy role.
Declared In
CBConstant.h
. CBBluetoothStatePoweredOff
-
Bluetooth is currently powered off.
Declared In
CBConstant.h
. CBBluetoothStatePoweredOn
-
Bluetooth is currently powered on and available to use.
Declared In
CBConstant.h
.
See Also
Declared In
CBConstant.h