sdk-routing / com.tomtom.online.sdk.routing.ev / EvRouteSpecification

EvRouteSpecification

@Beta(2020, 10) class EvRouteSpecification

A constructor used to create an instance of EvRouteSpecification.

Parameters

origin - Origin location of a route.

destination - Destination location of a route.

electricVehicleDescriptor - Electric vehicle descriptor of a route.

vehicleDescriptor - Vehicle descriptor of a route.

routeDescriptor - Route descriptor of a route.

Types

Builder

class Builder

A builder class used to create EvRouteSpecification for the Long Distance EV Routing service.

Properties

destination

val destination: LatLng

Destination location of a route.

electricVehicleDescriptor

val electricVehicleDescriptor: ElectricVehicleDescriptor

Electric vehicle descriptor of a route.

origin

val origin: LatLng

Origin location of a route.

routeDescriptor

val routeDescriptor: RouteDescriptor?

Route descriptor of a route.

vehicleDescriptor

val vehicleDescriptor: VehicleDescriptor?

Vehicle descriptor of a route.