RadarStatus

Objective-C

enum RadarStatus : NSInteger {}

Swift

enum RadarStatus : Int, @unchecked Sendable

The status types for a request.

  • Success

    Declaration

    Objective-C

    RadarStatusSuccess

    Swift

    case success = 0
  • SDK not initialized

    Declaration

    Objective-C

    RadarStatusErrorPublishableKey

    Swift

    case errorPublishableKey = 1
  • Location permissions not granted

    Declaration

    Objective-C

    RadarStatusErrorPermissions

    Swift

    case errorPermissions = 2
  • Location services error or timeout (20 seconds)

    Declaration

    Objective-C

    RadarStatusErrorLocation

    Swift

    case errorLocation = 3
  • Beacon ranging error or timeout (5 seconds)

    Declaration

    Objective-C

    RadarStatusErrorBluetooth

    Swift

    case errorBluetooth = 4
  • Network error or timeout (10 seconds)

    Declaration

    Objective-C

    RadarStatusErrorNetwork

    Swift

    case errorNetwork = 5
  • Bad request (missing or invalid params)

    Declaration

    Objective-C

    RadarStatusErrorBadRequest

    Swift

    case errorBadRequest = 6
  • Unauthorized (invalid API key)

    Declaration

    Objective-C

    RadarStatusErrorUnauthorized

    Swift

    case errorUnauthorized = 7
  • Payment required (organization disabled or usage exceeded)

    Declaration

    Objective-C

    RadarStatusErrorPaymentRequired

    Swift

    case errorPaymentRequired = 8
  • Forbidden (insufficient permissions or no beta access)

    Declaration

    Objective-C

    RadarStatusErrorForbidden

    Swift

    case errorForbidden = 9
  • Not found

    Declaration

    Objective-C

    RadarStatusErrorNotFound

    Swift

    case errorNotFound = 10
  • Too many requests (rate limit exceeded)

    Declaration

    Objective-C

    RadarStatusErrorRateLimit

    Swift

    case errorRateLimit = 11
  • Internal server error

    Declaration

    Objective-C

    RadarStatusErrorServer

    Swift

    case errorServer = 12
  • Unknown error

    Declaration

    Objective-C

    RadarStatusErrorUnknown

    Swift

    case errorUnknown = 13