Classes

The following classes are available globally.

RoutingOnlineService

  • 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 }
    - Important: This is a Public Preview API. It may be changed or removed at any time.
    
    See more

    Declaration

    Swift

    public class RoutingOnlineService : RoutingSecurity
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    open class CommonRoutingRequest : HTTPHandlerRequestProtocol

RoutingQuery

  • Routing Query

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public class RoutingQuery : QueryProtocol

BatchRoutingQuery

  • 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

ReachableRangeQuery

  • 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

BatchReachableRangeQuery

  • 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

AnnouncementUpdater

  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class AnnouncementUpdater

RoutingError

  • Describes any errors that occur during routing.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class RoutingError : LocalizedError, Decodable

TomTomRoutingService

  • 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.
    See more

    Declaration

    Swift

    public final class TomTomRoutingService : RoutingService, EVRoutingService, ReachableRangeRoutingService
    extension TomTomRoutingService: AdditionalQueryItemProvider