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

withAvoidType

abstract fun withAvoidType(avoidType: NativeAvoidType!): ILongDistanceEVRoutingQuery!

Used in the default builder LongDistanceEVRoutingQueryBuilder.

Parameters

avoidType - NativeAvoidType!: Specifies something that the route calculation should try to avoid when determining the route.

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