RoutePlan

public struct RoutePlan

Route plan defines parameters required for a single route in navigation session.

To specify a route plan, first plan a TomTomSDKRoute/Route using TomTomSDKRoutePlanner/RoutePlanner and TomTomSDKRoutePlanner/RoutePlanningOptions.

For more information on navigation session see TomTomNavigation/start(), TomTomNavigation/start(_:), TomTomNavigation/update(_:) and TomTomNavigation/stop().

Lifecycle

  • Creates an instance of RoutePlan.

    Declaration

    Swift

    public init(route: Route, routePlanningOptions: RoutePlanningOptions)

    Parameters

    route

    Route to follow during the navigation session.

    routePlanningOptions

    RoutePlanningOptions used to plan the route.

Public

  • Route to follow during the navigation session.

    Declaration

    Swift

    public let route: Route
  • RoutePlanningOptions used to plan the route.

    Declaration

    Swift

    public let routePlanningOptions: RoutePlanningOptions