sdk-routing / com.tomtom.online.sdk.routing.data / RouteQueryBuilder / withMinDeviationTime

withMinDeviationTime

fun withMinDeviationTime(minDeviationTime: Int): RouteQueryBuilder

Overrides IRouteQuery.withMinDeviationTime

All alternative routes returned will follow the reference route from the origin point of the calculateRoute Request for at least this number of seconds. This can only be used when reconstructing a route. The minDeviationTime parameter cannot be used in conjunction with arriveAt.