sdk-routing / com.tomtom.online.sdk.routing.data.longDistanceEV / LongDistanceEVRoutingQueryBuilder / create

create

@JvmStatic fun create(origin: LatLng, destination: LatLng, speedConsumptionInKWhPerHundredKm: Map<Double, Double>, currentChargeInKWh: Double, maxChargeInkWh: Double, minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<NativeChargingMode>): LongDistanceEVRoutingQueryBuilder

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

Return
newly created builder object for LongDistanceEVRoutingQuery to be used for further processing.