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

AlternativeType

@PublicPreview("2021.06") 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.