Time

class Time @JvmOverloads() constructor(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

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.