SPGeofenceErrorType

enum SPGeofenceErrorType {}

Geofence error types.

  • Circle geofence is missing content. Make sure you’ve set the coordinate and the radius of the geofence.

    Declaration

    Objective-C

    SPGeofenceErrorTypeCircleMissingContent = 1

    Swift

    case circleMissingContent = 1
  • Polygon geofence is missing content. Make sure you’ve added polygon data containing at least 3 points.

    Declaration

    Objective-C

    SPGeofenceErrorTypePolygonMissingContent = 2

    Swift

    case polygonMissingContent = 2
  • Geofence type was unsupported. Currently you can use circle and polygon geofences.

    Declaration

    Objective-C

    SPGeofenceErrorTypeUnsupportedType = 3

    Swift

    case unsupportedType = 3
  • Internal failure. Database could not be opened.

    Declaration

    Objective-C

    SPGeofenceErrorTypeInternalDatabaseError = 4

    Swift

    case internalDatabaseError = 4
  • Beacon geofence is missing radius

    Declaration

    Objective-C

    SPGeofenceErrorTypeBeaconMissingContent = 5

    Swift

    case beaconMissingContent = 5
  • Number of geofence error types.

    Declaration

    Objective-C

    SPGeofenceErrorTypeCount

    Swift

    case count = 6