googleDirectionLibrary / com.akexorcist.googledirection.constant / TrafficModel

TrafficModel

open class TrafficModel

Traffic Model.

Since
1.2.1

Annotations

Value

class Value

Constructors

<init>

TrafficModel()

Traffic Model.

Properties

BEST_GUESS

static val BEST_GUESS: String

(default) Indicates that the returned duration_in_traffic should be the best estimate of travel time given what is known about both historical traffic conditions and live traffic. Live traffic becomes more important the closer the departure_time is to now.

OPTIMISTIC

static val OPTIMISTIC: String

Indicates that the returned duration_in_traffic should be shorter than the actual travel time on most days, though occasional days with particularly good traffic conditions may be faster than this value.

PESSIMISTIC

static val PESSIMISTIC: String

Indicates that the returned duration_in_traffic should be longer than the actual travel time on most days, though occasional days with particularly bad traffic conditions may exceed this value.