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

EvRouteSpecification

@PublicPreview("2021.06") data 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 vehicle.

routeDescriptor - Route descriptor of a route.

chargingDescriptor - Describes parameters related to the charging of an electric vehicle.

Types

Builder

class Builder

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

Properties

chargingDescriptor

val chargingDescriptor: ChargingDescriptor

Describes parameters related to the charging of an electric vehicle.

destination

val destination: LatLng

Destination location of a route.

electricVehicleDescriptor

val electricVehicleDescriptor: ElectricVehicleDescriptor

Electric vehicle descriptor of a vehicle.

origin

val origin: LatLng

Origin location of a route.

routeDescriptor

val routeDescriptor: RouteDescriptor?

Route descriptor of a route.