Package com.tomtom.sdk.routing.common.options

Types

Link copied to clipboard
class ChargingOptions

Represents the electric vehicle options that provide charging information.

Link copied to clipboard
class Itinerary(    val origin: ItineraryPoint,     val destination: ItineraryPoint,     val waypoints: List<ItineraryPoint> = emptyList())

Itinerary represents a sequence of points that a route visits.

Link copied to clipboard
data class ItineraryPoint(val place: Place, val heading: Angle? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

Link copied to clipboard
value class ItineraryPointId(val value: UUID = UUID.randomUUID())

Represents a unique identifier of an itinerary point.

Link copied to clipboard
data class RangeCalculationOptions(    val origin: ItineraryPoint,     val budgets: Set<Budget>,     val vehicle: Vehicle = Vehicle.Car(),     val costModel: CostModel? = null,     val departAt: Date? = null,     val maxFerryLength: Distance? = null,     val routeToInclude: List<GeoCoordinate> = emptyList(),     val queryOptions: QueryOptions = QueryOptions())

Options for range calculation.

Link copied to clipboard
data class RouteLegOptions(val supportingPoints: List<GeoCoordinate>, val chargingInformation: ChargingInformation? = null)

Options specific for concrete leg.

Link copied to clipboard
data class RoutePlanningOptions(    val itinerary: Itinerary,     val costModel: CostModel? = null,     val departAt: Date? = null,     val arriveAt: Date? = null,     val alternativeRoutesOptions: AlternativeRoutesOptions? = null,     val guidanceOptions: GuidanceOptions? = null,     val routeLegOptions: List<RouteLegOptions> = emptyList(),     val vehicle: Vehicle = Vehicle.Car(),     val chargingOptions: ChargingOptions? = null,     val queryOptions: QueryOptions? = null)

Options for route planning.