RoutingResult
public enum RoutingResult
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
true
ifRoutingResult
issuccess
Declaration
Swift
var isSuccessful: Bool { get }
-
Returns SDK’s
Result
value.Declaration
Swift
var swiftResult: Result<Void, Error> { get }
-
Returns the
Error
instance of theRoutingResult
.Declaration
Swift
func getError() throws -> Error