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.

Parameters

value

deviation time value.

unit

deviation time unit.

sarType

algorithm of deviation calculation.

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
Link copied to clipboard
Link copied to clipboard
val value: Long