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)

Helper methods

  • Returns true if RoutingResult is success

    Declaration

    Swift

    var isSuccessful: Bool { get }
  • Returns SDK’s Result value.

    Declaration

    Swift

    var swiftResult: Result<Void, Error> { get }
  • Returns the Error instance of the RoutingResult.

    Throws

    The RoutingError if RoutingResult is success.

    Declaration

    Swift

    func getError() throws -> Error