sdk-routing / com.tomtom.online.sdk.routing.route.calculation / AlternativeType

AlternativeType

@Beta(2020, 12) enum class AlternativeType

Represents the 'alternativeType' parameter in a Request to the Routing API.

Enum Values

UNDEFINED

Makes alternative type to be undefined which passes null as a value.

ANY_ROUTE

Defines alternative type to find any alternative route using the Routing API.

BETTER_ROUTE

Defines alternative type to only find routes which are better.