SPMapResponse

Objective-C

enum SPMapResponse : NSUInteger {}

Swift

enum SPMapResponse : UInt, @unchecked Sendable

Map event response types

  • Successful map event. Everything went smoothly.

    Declaration

    Objective-C

    SPMapResponseSuccess = 0

    Swift

    case success = 0
  • Target object for event was not found. This means that either the target object or the building is not found.

    Declaration

    Objective-C

    SPMapResponseObjectNotFound = 1

    Swift

    case objectNotFound = 1
  • Could not find target location for event due to network connectivity issue. In other words the device does not have an internet connection or local cache data.

    Declaration

    Objective-C

    SPMapResponseNetworkError = 2

    Swift

    case networkError = 2
  • Could not execute the task due to invalid combination of given parameter and existing data.

    Declaration

    Objective-C

    SPMapResponseNotSupported = 3

    Swift

    case notSupported = 3