Enumerations
The following enumerations are available globally.
-
Represents the diffrent connection states that a Flic/PbF can be in at any given time.
See moreDeclaration
Objective-C
enum SCLFlicButtonConnectionState {}
Swift
enum SCLFlicButtonConnectionState : Int
-
Represents the indication count, meaning how many times the LED will fade when using the
See moreindicateLED:
method. Please be mindful of battery usage.Declaration
Objective-C
enum SCLFlicButtonLEDIndicateCount {}
Swift
enum SCLFlicButtonLEDIndicateCount : Int
-
Represents the different modes that you can configure the button to operate in. These modes typically affect both click latency and expected battery life.
See moreDeclaration
Objective-C
enum SCLFlicButtonMode {}
Swift
enum SCLFlicButtonMode : Int
-
Represents the different trigger event behaviors that can be configured on the button. The buttonUp and buttonDown events will be active no matter which of these alternatives you choose.
See moreDeclaration
Objective-C
enum SCLFlicButtonTriggerBehavior {}
Swift
enum SCLFlicButtonTriggerBehavior : Int
-
Represents the last know battery status of a button.
See moreDeclaration
Objective-C
enum SCLFlicButtonBatteryStatus {}
Swift
enum SCLFlicButtonBatteryStatus : Int
-
These enums represents the different error codes that can be sent on both the SCLFlicPbFButton and SCLFlicPbFManager classes. Not all errors are relevant for you as a developer since a few of them are for internal use only. This list will be cleaned up and better explained soon.
See moreDeclaration
Objective-C
enum SCLFlicError {}
Swift
enum SCLFlicError : Int
-
The different button types.
See moreDeclaration
Objective-C
enum SCLFlicButtonType {}
Swift
enum SCLFlicButtonType : Int
-
These enums represents the different possible states that the manager can be in at any given time. The manager needs to be in the
See moreSCLFlicManagerBluetoothStatePoweredOn
state in order for it to perform any kind of communication with a Flic/PbF.Declaration
Objective-C
enum SCLFlicManagerBluetoothState {}
Swift
enum SCLFlicManagerBluetoothState : Int