Hashable
public static func == (lhs: TrafficRoute, rhs: TrafficRoute) -> Bool
Returns a Boolean value indicating whether two values are equal.
public func hash(into hasher: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
hasher
Hasher
The hasher to use when combining the components of this instance.
public static func fromNavigationState( navigationState: PackedNavigationState, context: Context ) -> TrafficRoute
Creating a route from the deserialized navigation state with adding the contained objects to the road events database (necessary to display events on the route on the map when it is impossible to get events online).
navigationState
PackedNavigationState
context
Context
TrafficRoute
var route
Route
Route.
var traffic
Traffic
Traffic data.