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

withAvoidType

@NonNull abstract fun withAvoidType(avoidType: Avoid!): IRouteQuery

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

Parameters

avoidType - Avoid!:

Return
IRouteQuery: The route query.