Route
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Declaration
Swift
public var hashValue: Int
-
find(fromWithID:toWithID:time:dateIsArrival:allowShortTermChanges:mobilitySettings:standardSettings:session:completion:)
Undocumented
-
find(from:to:time:dateIsArrival:allowShortTermChanges:mobilitySettings:standardSettings:session:completion:)
Convenience function taking to stop names instead of IDs. Sends of two find requests first.
Declaration
Swift
public static func find(from origin: String, to destination: String, time: Date = Date(), dateIsArrival: Bool = false, allowShortTermChanges: Bool = true, mobilitySettings: MobilitySettings = .none, standardSettings: StandardSettings = .default, session: URLSession = .shared, completion: @escaping (Result<RoutesResponse>) -> Void)