sdk-routing / com.tomtom.online.sdk.routing.data.longDistanceEV / ILongDistanceEVRoutingQuery / withTravelMode

withTravelMode

abstract fun withTravelMode(travelMode: NativeTravelMode!): ILongDistanceEVRoutingQuery!

Used in the default builder LongDistanceEVRoutingQueryBuilder.

Parameters

travelMode - NativeTravelMode!: The mode of travel for the requested route.

Return
ILongDistanceEVRoutingQuery!: The builder of the query with a new value of the travel mode.