SPBluetoothState

enum SPBluetoothState {}

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