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