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

RouteCalculationDescriptor

@Beta(2020, 12) data class RouteCalculationDescriptor

Defines the parameters used for the route calculation in the Routing API.

Types

Builder

class Builder

Builder used to create an instance of RouteCalculationDescriptor. Once constructed, the user cannot change the field values.

Properties

allowVignettes

val allowVignettes: List<String>?

alternativeType

val alternativeType: AlternativeType

arriveAt

val arriveAt: Date?

avoidAreas

val avoidAreas: List<BoundingBox>?

avoidVignettes

val avoidVignettes: List<String>?

computeBestOrder

val computeBestOrder: Boolean

instructionsType

val instructionsType: InstructionsType

language

val language: String

maxAlternatives

val maxAlternatives: Int

minDeviationDistance

val minDeviationDistance: Int?

minDeviationTime

val minDeviationTime: Int?

report

val report: ReportType

routeDescriptor

val routeDescriptor: RouteDescriptor?

routeRepresentation

val routeRepresentation: RouteRepresentation

sectionType

val sectionType: SectionType

supportingPoints

val supportingPoints: List<LatLng>

trafficInformation

val trafficInformation: TrafficInformation

vehicleHeading

val vehicleHeading: Int?

waypoints

val waypoints: List<LatLng>?

waypointWithAccuracy

val waypointWithAccuracy: List<LatLngAcc>?