sdk-routing / com.tomtom.online.sdk.routing.data / RouteQueryBuilder / withAvoidType

withAvoidType

fun withAvoidType(avoidType: Avoid): RouteQueryBuilder

Overrides IRouteQuery.withAvoidType

Specifies what the route calculation should try to avoid when determining the route.Can be specified multiple times.