sdk-routing / com.tomtom.online.sdk.routing.route.description / AvoidType

AvoidType

@Beta(2020, 12) enum class AvoidType

Defines what kind of roads should be avoided while calculating a route.

Enum Values

NONE

No roads will be avoided.

TOLL_ROADS

Avoids toll roads.

MOTORWAYS

Avoids motorways.

FERRIES

Avoids ferries.

UNPAVED_ROADS

Avoids unpaved roads.

CAR_POOLS

Avoids routes that require the use of carpool (HOV/High Occupancy Vehicle) lanes.

ALREADY_USED_ROADS

Avoids using the same road multiple times.

BORDER_CROSSINGS

Avoids crossing country borders.