Package com.tomtom.sdk.routing.common.options.calculation

Types

Link copied to clipboard
data class AlternativeRoutesOptions(    val maxAlternatives: Int = 1,     val alternativeType: AlternativeType? = null,     val minDeviationDistance: Distance? = null,     val minDeviationTime: Duration? = null)

Specifies options related to alternative routes.

Link copied to clipboard
enum AlternativeType : Enum<AlternativeType>

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

Link copied to clipboard
data class AvoidOptions(    val avoidTypes: Set<AvoidType> = emptySet(),     val vignettes: Vignettes? = null,     val avoidAreas: Set<GeoBoundingBox> = emptySet())

Specifies avoidance criteria.

Link copied to clipboard
enum AvoidType : Enum<AvoidType>

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

Link copied to clipboard
enum ComputeTravelTimeFor : Enum<ComputeTravelTimeFor>

Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.

Link copied to clipboard
enum ConsiderTraffic : Enum<ConsiderTraffic>

Specifies whether to ignore traffic.

Link copied to clipboard
data class CostModel(    val routeType: RouteType = RouteType.Fast,     val considerTraffic: ConsiderTraffic = ConsiderTraffic.YES,     val avoidOptions: AvoidOptions? = null)

Criteria that specify what paths to prefer during routing.

Link copied to clipboard
enum Hilliness : Enum<Hilliness>

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

Link copied to clipboard
abstract class RouteType

This represents the 'routeType' parameter in a Request to the Routing API.

Link copied to clipboard
abstract class Vignettes

Either of Vignettes.Allow or Vignettes.Avoid.

Link copied to clipboard
enum Windingness : Enum<Windingness>

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