Protocols
The following protocols are available globally.
-
Engine responsible for detecting arrival at the destination.
Important
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.
Important
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.
Important
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.
Important
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.
Important
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
GuidanceInstruction
s. 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 theInstruction
type.e.g.,
TurnInstruction
will containturnAngleInDegrees
andturnDirection
.Important
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.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationContextDetectionEngine : ManageableEngine
-
The
ManageableEngine
protocol provides functionality related to engine data management.Important
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.
Important
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
Warning
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
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsActiveRouteDelegate : AnyObject
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsRemoveDelegate : AnyObject
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationOptionsUpdateDelegate : AnyObject
-
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.
Important
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.
Important
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
Important
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
.Important
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.
Important
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.
Important
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 SimpleEngineCommonCalculator
-
The HorizonEngine protocol is responsible for fetching horizon data.
Warning
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