Protocols
The following protocols are available globally.
-
Engine that instantiates the update of the data store used for navigation.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol DataStoreMaintenanceEngine : ManageableEngine
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MainNavigationEngines
-
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
-
The
TomTomNavigation
protocol defines the functionality of the navigation.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TomTomNavigation
-
Provides access to current registered engines and allows updating them.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationEngineRegistry : AnyObject
-
The NavigationEngines protocol defines all engines that can be used by the TomTomSDKNavigation module.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationEngines : MainNavigationEngines, RouteNavigationEnginesProvider
-
An observer to receive navigation start events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationStartObserver : Observer
-
An observer to receive navigation map matching events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationMapMatchingObserver : Observer
-
An observer to receive navigation progress events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationProgressObserver : Observer
-
An observer to receive navigation route events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationRouteObserver : Observer
-
An observer to receive navigation guidance events.
See moreDeclaration
Swift
public protocol NavigationGuidanceObserver : Observer
-
An observer to receive navigation guidance events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationLocationContextObserver : Observer
-
An observer to receive navigation arrival events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationArrivalObserver : Observer
-
An observer to receive route tracking state updates.
The information about the route state is represented by
RouteTrackingState
. When the driver deviates or returns to the active route, the navigation engine sends route-tracking state updates to the observer.To start receiving route tracking state updates, become an observer using
Navigation.addRouteTrackingStateUpdateObserver(_ observer:)
: To stop receiving route tracking state updates, remove the previously added observer usingNavigation.removeRouteTrackingStateUpdateObserver(_ observer:)
:Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationRouteTrackingStateUpdateObserver : Observer
-
An observer to receive navigation error events.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol NavigationErrorObserver : Observer
-
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
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol SimpleEngineCommonCalculator