RouteDifferences
class RouteDifferences(val lengthDifference: LengthDifference, val timeDifference: TimeDifference, val chargingDifference: ChargingDifference, val consumptionDifference: ConsumptionDifference?, val sectionsDifferences: SectionsDifferences = SectionsDifferences())
Represents the differences between two routes.
For more details on comparison, see com.tomtom.sdk.navigation.routecomparison.compareToForkingRoute.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
constructor(lengthDifference: LengthDifference, timeDifference: TimeDifference, chargingDifference: ChargingDifference, consumptionDifference: ConsumptionDifference?, sectionsDifferences: SectionsDifferences = SectionsDifferences())
Properties
Link copied to clipboard
The difference in the charging information between the first route and the second route.
Link copied to clipboard
The difference in the consumption information between the first route and the second route.
Link copied to clipboard
The difference in length between the first route and the second route.
Link copied to clipboard
The difference in the section information between the first route and the second route.
Link copied to clipboard
The difference in travel time between the first route and the second route.