SCLFlicManagerBluetoothState Constants Reference
Declared in | SCLFlicManager.h |
---|
SCLFlicManagerBluetoothState
@enum SCLFlicManagerBluetoothState
These enums represents the different possible states that the manager can be in at any given time.
The manager needs to be in the SCLFlicManagerBluetoothStatePoweredOn
state in order for it to perform
any kind of communication with a flic.
Definition
typedef NS_ENUM(NSInteger, SCLFlicManagerBluetoothState ) {
SCLFlicManagerBluetoothStatePoweredOn = 0,
SCLFlicManagerBluetoothStatePoweredOff,
SCLFlicManagerBluetoothStateResetting,
SCLFlicManagerBluetoothStateUnsupported,
SCLFlicManagerBluetoothStateUnauthorized,
SCLFlicManagerBluetoothStateUnknown,
};
Constants
SCLFlicManagerBluetoothStatePoweredOn
-
This state is the desired state that is needed when communicating with a flic.
Declared In
SCLFlicManager.h
. SCLFlicManagerBluetoothStatePoweredOff
-
This state means that the manager is currently powered off and will not be able to perform any bluetooth related tasks. This will for example be the case when bluetooth is turned off on the iOS device.
Declared In
SCLFlicManager.h
. SCLFlicManagerBluetoothStateResetting
-
The manager is resetting and will most likely switch to the powered on state shortly.
Declared In
SCLFlicManager.h
. SCLFlicManagerBluetoothStateUnsupported
-
The manager was not able to turn on because the iOS device that it is currently running on does not support Bluetooth Low Energy.
Declared In
SCLFlicManager.h
. SCLFlicManagerBluetoothStateUnauthorized
-
The manager was not able to turn on because the app is not authorized to to use Bluetooth Low Energy.
Declared In
SCLFlicManager.h
. SCLFlicManagerBluetoothStateUnknown
-
The manager is in an unknown state, it will most likely change shortly.
Declared In
SCLFlicManager.h
.
Declared In
SCLFlicManager.h