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()
.
-
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 theroute
.
-
Route
to follow during the navigation session.Declaration
Swift
public let route: Route
-
RoutePlanningOptions
used to plan theroute
.Declaration
Swift
public let routePlanningOptions: RoutePlanningOptions