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 = 0Swift
case unknown = 0 -
Bluetooth is enabled and can be used
Declaration
Objective-C
SPBluetoothStateEnabled = 1Swift
case enabled = 1 -
Bluetooth is disabled or cannot be used
Declaration
Objective-C
SPBluetoothStateDisabled = 2Swift
case disabled = 2 -
The app does not have permission to use bluetooth
Declaration
Objective-C
SPBluetoothStateNotAuthorized = 3Swift
case notAuthorized = 3
SPBluetoothState Enumeration Reference