sdk-routing / com.tomtom.online.sdk.routing.route / RoutePlan

RoutePlan

@PublicPreview("2021.06") data class RoutePlan : Serializable

Represents the calculated route based on a passed RouteSpecification.

Parameters

report - Represents information about the data which should be reported for diagnosis purposes.

routes - The list of calculated routes.

optimizedWaypoints - The list of optimized waypoints.

Constructors

<init>

RoutePlan(report: Report?, routes: List<FullRoute>, optimizedWaypoints: List<OptimizedWaypoint>)

Represents the calculated route based on a passed RouteSpecification.

Properties

optimizedWaypoints

val optimizedWaypoints: List<OptimizedWaypoint>

The list of optimized waypoints.

report

val report: Report?

Represents information about the data which should be reported for diagnosis purposes.

routes

val routes: List<FullRoute>

The list of calculated routes.