RoutePlanningResponse

public struct RoutePlanningResponse

Represents the calculated route based on a passed [RoutePlanningOptions].

  • Creates a route planning response

    Declaration

    Swift

    public init(routes: [TomTomSDKRoute.Route]?)

    Parameters

    routes

    The list of calculated routes.

  • Routes matching the request.

    Declaration

    Swift

    public let routes: [TomTomSDKRoute.Route]?