Protocols
The following protocols are available globally.
-
Engine responsible for detecting arrival at the destination.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ArrivalDetectionEngine : ManageableEngine -
An NavigationConfiguration object defines the behaviour to use when start Navigation object.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationConfiguration : DynamicRoutingProvider
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MainNavigationEngines : AnyObject -
Provides access to Dynamic Routing
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol DynamicRoutingProvider -
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteNavigationEnginesProvider : AnyObject
-
EngineActions defines the actions and properties provided by the the navigation service.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol EngineActions -
Responsible for generation of guidance related to upcoming road maneuvers.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol GuidanceEngine : ManageableEngine
-
Responsible for generating announcements.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AnnouncementGenerator -
The protocol for a Guidance Instruction.
Contains a set of attributes common to all
GuidanceInstructions. It contains a set of default attributes common to allGuidanceInstruction‘s.e.g., 'Turn right’, ‘Keep left’, ‘Take the ferry’, ‘Take the motorway’, ‘Arrive’.
Different types of
GuidanceInstruction‘s will implement this, and may add extra attributes specific to theInstructiontype.e.g.,
TurnInstructionwill containturnAngleInDegreesandturnDirection.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol GuidanceInstruction -
The LocationContextDetectionEngine protocol provides functionality related to information about a matched location.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationContextDetectionEngine : ManageableEngine -
The
ManageableEngineprotocol provides functionality related to engine data management.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ManageableEngine
-
The MapMatchingEngine provides an interface for map matching functionality.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapMatchingEngine : ManageableEngine
-
The NavigationEngines protocol defines all engines that can be used by the TomTomSDKNavigationEngine module.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationEngines : MainNavigationEngines, RouteNavigationEnginesProvider
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation start events.Declaration
Swift
public protocol NavigationStartObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation map matching events.Declaration
Swift
public protocol NavigationMapMatchingObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation progress events.Declaration
Swift
public protocol NavigationProgressObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation route events.Declaration
Swift
public protocol NavigationRouteObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation guidance events.Declaration
Swift
public protocol NavigationGuidanceObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation guidance events.Declaration
Swift
public protocol NavigationLocationContextObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation arrival events.Declaration
Swift
public protocol NavigationArrivalObserver : Observer
-
An observer to receive navigation horizon events.
See moreWarning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouragedDeclaration
Swift
public protocol NavigationHorizonObserver : Observer
-
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation error events.Declaration
Swift
public protocol NavigationErrorObserver : Observer
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsActiveRouteDelegate : AnyObject
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsRemoveDelegate : AnyObject
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsUpdateDelegate : AnyObject
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsAddDelegate : AnyObject -
The RouteProgressDetectionEngine protocol provides functionality related to the calculation of progress along the route.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteProgressDetectionEngine : ManageableEngine
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteProgressEngine -
The RouteProjectionEngine is responsible for projecting the input route to obtain map references if they are not provided.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteProjectionEngine : ManageableEngine -
Selector responsible for choosing the routes according to protocol’s adoptee expectations
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol BetterRouteSelector -
Specifies how to handle requests which failed during replanning of a
Route.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ReplanningRetryPolicy
-
Engine responsible for replanning a route.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteReplanningEngine -
The RouteTrackingEngine protocol provides functionality to determine if the driver is tracking the routes.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteTrackingEngine : ManageableEngine
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol SimpleEngineCommonCalcProtocol
-
The HorizonEngine protocol is responsible for fetching horizon data.
See moreWarning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.Declaration
Swift
public protocol HorizonEngine
Protocols Reference