Time

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

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: RouteOptions.Deviation.SarType? = SarType.ISOCHROME)
deviation time value.

Functions

component1
Link copied to clipboard
operator fun component1(): Long
component2
Link copied to clipboard
operator fun component2(): TimeUnit
component3
Link copied to clipboard
operator fun component3(): RouteOptions.Deviation.SarType?
copy
Link copied to clipboard
fun copy(value: Long, unit: TimeUnit, sarType: RouteOptions.Deviation.SarType? = SarType.ISOCHROME): RouteOptions.Deviation.Time
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
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.