SKSensorError

Objective-C

enum SKSensorError : NSInteger {}

Swift

enum SKSensorError : Int, @unchecked Sendable

NSError codes in SKErrorDomain.

  • Sensor is not available.

    Declaration

    Objective-C

    SKSensorNotAvailableError = 0

    Swift

    case sensorNotAvailableError = 0
  • Sensor is already registered.

    Declaration

    Objective-C

    SKSensorAlreadyRegisteredError = 10

    Swift

    case sensorAlreadyRegisteredError = 10
  • Sensor is not registered.

    Declaration

    Objective-C

    SKSensorNotRegisteredError = 11

    Swift

    case sensorNotRegisteredError = 11
  • Sensor is currently sensing.

    Declaration

    Objective-C

    SKSensorCurrentlySensingError = 20

    Swift

    case sensorCurrentlySensingError = 20
  • Sensor is currently not sensing.

    Declaration

    Objective-C

    SKSensorCurrentlyNotSensingError = 21

    Swift

    case sensorCurrentlyNotSensingError = 21
  • Sensor Data Handler is already registered.

    Declaration

    Objective-C

    SKDataHandlerAlreadyRegistered = 30

    Swift

    case dataHandlerAlreadyRegistered = 30
  • Sensor Data Handler is not registered

    Declaration

    Objective-C

    SKDataHandlerNotRegistered = 31

    Swift

    case dataHandlerNotRegistered = 31
  • Configuration is not compatible with the registered sensor.

    Declaration

    Objective-C

    SKConfigurationNotValid = 40

    Swift

    case configurationNotValid = 40
  • Eddystone Proximity Namespace is not valid.

    Declaration

    Objective-C

    SKConfigurationEddystoneProximityNamespaceNotValid = 41

    Swift

    case configurationEddystoneProximityNamespaceNotValid = 41