sdk-routing / com.tomtom.online.sdk.routing.ev / RouteDescriptor / Builder / avoidType

avoidType

fun avoidType(avoidTypes: List<AvoidType>): RouteDescriptor.Builder

Specifies something that the route calculation should try to avoid when determining the route.

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