SPDirectionsErrorType
Objective-C
enum SPDirectionsErrorType : NSUInteger {}
Swift
enum SPDirectionsErrorType : UInt
Directions error types.
-
Failed to download necessary data for routing.
Declaration
Objective-C
SPDirectionsErrorTypeFetchResources = 1Swift
case fetchResources = 1 -
Failed to save downloaded data to filesystem.
Declaration
Objective-C
SPDirectionsErrorTypeSaveResources = 2Swift
case saveResources = 2 -
Downloaded routing data was not valid.
Declaration
Objective-C
SPDirectionsErrorTypeResourcesData = 3Swift
case resourcesData = 3 -
Failed to initialize route search.
Declaration
Objective-C
SPDirectionsErrorTypeInitRoute = 4Swift
case initRoute = 4 -
Failed find any routes
Declaration
Objective-C
SPDirectionsErrorTypeNoRoutes = 5Swift
case noRoutes = 5 -
Failed to solve routes.
Declaration
Objective-C
SPDirectionsErrorTypeSolve = 6Swift
case solve = 6 -
Authentication failure. ‘SPSteerpathAccessToken’ is missing from the app. See SPAccountManager.h for more information.
Declaration
Objective-C
SPDirectionsErrorTypeMissingAPIKey = 7Swift
case missingAPIKey = 7 -
No destination was provided
Declaration
Objective-C
SPDirectionsErrorTypeNoDestination = 8Swift
case noDestination = 8 -
No starting location was provided
Declaration
Objective-C
SPDirectionsErrorTypeNoStart = 9Swift
case noStart = 9 -
Currently busy calculating directions
Declaration
Objective-C
SPDirectionsErrorTypeBusy = 10Swift
case busy = 10
SPDirectionsErrorType Enumeration Reference