TrafficRouter | iOS SDK | 2GIS Documentation
iOS SDK

TrafficRouter

Interface for finding a route, taking into account traffic data.

Extends: Hashable
public static func == (lhs: TrafficRouter, rhs: TrafficRouter) -> Bool

Returns a Boolean value indicating whether two values are equal.

public convenience init(
    context: Context
)
Parameters
context
Methods
Properties
Future<[TruckPassZonePass]>

Returns a list of all supported passes that allow truck traffic within the pass zones.