Classes
The following classes are available globally.
-
Class to add a key for a routing service. The key must be injected before the TomTomRoutingService can be used.
- Example: “” func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { RoutingOnlineService.routingKey = “ROUTING_KEY” […] return true }
See more- Important: This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public class RoutingOnlineService : RoutingSecurity
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
open class CommonRoutingRequest : HTTPHandlerRequestProtocol
-
Routing Query
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class RoutingQuery : QueryProtocol
-
Batch Routing Query
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class BatchRoutingQuery : RoutingQuery
-
Reachable Range Query
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class ReachableRangeQuery : RoutingQuery
-
Batch Reachable Range Query
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class BatchReachableRangeQuery : RoutingQuery
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class RoutingRequest : CommonRoutingRequest, BatchRoutingRequestProtocol, SecureRequestProtocol
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class AnnouncementUpdater
-
Describes any errors that occur during routing.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class RoutingError : LocalizedError, Decodable
-
The TomTom Routing Service is a REST wrapper for a suite of web services that allow developers to use our scalable routing engine.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public final class TomTomRoutingService : RoutingService, EVRoutingService, ReachableRangeRoutingService
extension TomTomRoutingService: AdditionalQueryItemProvider