Time

class Time @JvmOverloads constructor(val value: Long, val unit: TimeUnit, val sarType: RouteOptions.Deviation.SarType? = SarType.ISOCHROME) : RouteOptions.Deviation

Maximum detour in time from route.

Note: Supported for Single Box Search and Search Box APIs only. Reserved for internal and special use.

Constructors

Link copied to clipboard
fun Time(value: Long, unit: TimeUnit, sarType: RouteOptions.Deviation.SarType? = SarType.ISOCHROME)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

algorithm of deviation calculation.

Link copied to clipboard

deviation time unit.

Link copied to clipboard
val value: Long

deviation time value.