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

RouteSpecification

@PublicPreview("2021.06") data class RouteSpecification

Represents parameters used in a Routing API request.

Types

Builder

class Builder

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

Properties

combustionVehicleDescriptor

val combustionVehicleDescriptor: CombustionVehicleDescriptor?

destination

val destination: LatLng

electricVehicleDescriptor

val electricVehicleDescriptor: ElectricVehicleDescriptor?

origin

val origin: LatLng

routeCalculationDescriptor

val routeCalculationDescriptor: RouteCalculationDescriptor?