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

TravelMode

@PublicPreview("2021.06") enum class TravelMode

Represents the 'travelMode' parameter in a request to the Routing API.

Enum Values

UNKNOWN

Defines the vehicle type as UNKNOWN.

CAR

Defines the vehicle type as car.

TRUCK

Defines the vehicle type as truck.

TAXI

Defines the vehicle type as taxi.

BUS

Defines the vehicle type as bus.

VAN

Defines the vehicle type as van.

MOTORCYCLE

Defines the vehicle type as motorcycle.

BICYCLE

Defines the vehicle type as bicycle.

PEDESTRIAN

Defines the vehicle type as pedestrian.

OTHER

Defines the vehicle type as other.