Time

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

Maximum detour in time from route.

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

Parameters

value

deviation time value.

unit

deviation time unit.

sarType

algorithm of deviation calculation.

Constructors

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

Functions

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

Properties

sarType
Link copied to clipboard
open override val sarType: RouteOptions.Deviation.SarType?
algorithm of deviation calculation.
unit
Link copied to clipboard
val unit: TimeUnit
deviation time unit.
value
Link copied to clipboard
val value: Long
deviation time value.