RoutingResult
public enum RoutingResult : Sendable
The result of the navigation process
- success: The request to process the navigation resulted in a successful navigation to the destination.
- failure: The request to process the navigation was not successful.
-
The request to process the navigation resulted in a successful navigation to the destination.
Declaration
Swift
case success -
The request to process the navigation was not successful.
Declaration
Swift
case failure(Error)
-
Returns
trueifRoutingResultissuccessDeclaration
Swift
var isSuccessful: Bool { get } -
Returns SDK’s
Resultvalue.Declaration
Swift
var swiftResult: Result<Void, Error> { get } -
Returns the
Errorinstance of theRoutingResult.Declaration
Swift
func getError() throws -> Error