SPBluetoothState
Objective-C
enum SPBluetoothState : NSUInteger {}
Swift
enum SPBluetoothState : UInt
Bluetooth states defined by the Steerpath SDK. ‘Simplified’ version of CBManagerState.
-
Bluetooth state is unknown
Declaration
Objective-C
SPBluetoothStateUnknown = 0
Swift
case unknown = 0
-
Bluetooth is enabled and can be used
Declaration
Objective-C
SPBluetoothStateEnabled = 1
Swift
case enabled = 1
-
Bluetooth is disabled or cannot be used
Declaration
Objective-C
SPBluetoothStateDisabled = 2
Swift
case disabled = 2
-
The app does not have permission to use bluetooth
Declaration
Objective-C
SPBluetoothStateNotAuthorized = 3
Swift
case notAuthorized = 3