Time

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

Maximum detour in time from route.

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: RouteDeviationOptions.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: RouteDeviationOptions.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.