Classes
The following classes are available globally.
-
TomTomArrivalDetectionEngine checks if the driver has reached the destination or waypoint.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class TomTomArrivalDetectionEngine : ArrivalDetectionEngine
-
The DefaultTomTomNavigation object defines the functionality of the navigation.
See moreDeclaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public class DefaultTomTomNavigation : TomTomNavigation
-
TomTomGuidanceEngine
generatesGuidance
using the list ofTomTomSDKRoute.Instruction
s supplied withinNavigationSnapshot.activeRoute
.TomTomGuidanceEngine
depends on theTomTomSDKRoute.Announcement
s included in the suppliedTomTomSDKRoute.Instruction
s. The engine continuously checks the active route progress to provide up-to-dateGuidance
information. When the vehicle reaches an announcement point, the generatedGuidance
includes theGuidanceAnnouncement
to be announced. Note that the set of supported languages may differ between differentGuidanceEngine
s.
See moreTomTomGuidanceEngine
should only be used with the online routing client that usesTomTomSDKRoutePlanner.GuidanceOnlineApiVersion.v1
as theTomTomSDKRoutePlanner.GuidanceOptions.guidanceVersion
. This is because the instructions from offline and the online routing client configured withTomTomSDKRoutePlanner.GuidanceOnlineApiVersion.v1
are designed to be used by theDynamicGuidanceEngine
and do not contain static announcement information.Declaration
Swift
public class TomTomGuidanceEngine : GuidanceEngine
-
Creates a
DynamicGuidanceEngine
.DynamicGuidanceEngine
generates dynamicGuidance
for theTomTomSDKRoute.Instruction
s supplied withinNavigationSnapshot.activeRoute
.To generate dynamic
Guidance
,DynamicGuidanceEngine
takes various parameters into account. These parameters include, but are not limited to:- Distance to the next maneuver.
- Current speed of the vehicle.
- Free-flow speed of the road between the current position and the next maneuver.
- Traffic situation ahead.
So, unlike
TomTomGuidanceEngine
,DynamicGuidanceEngine
does not depend onTomTomSDKRoute.Announcement
information that may or may not be included in theTomTomSDKRoute.Instruction
. It continuously checks the active route progress to provide up-to-dateGuidance
information. Once the vehicle reaches an announcement point, the generatedGuidance
includes the (GuidanceAnnouncement
) to be announced.Another difference between
DynamicGuidanceEngine
andTomTomGuidanceEngine
is thatDynamicGuidanceEngine
uses TomTom’s advanced verbal instruction messages to synthesizeGuidanceAnnouncement
s dynamically on the fly. Note that the set of supported languages may differ between differentGuidanceEngine
s.
See moreDynamicGuidanceEngine
can be used to provide turn-by-turn navigation with any routing client (offline, online withTomTomSDKRoutePlanner.GuidanceOptions.guidanceVersion
v1
orv2
).Declaration
Swift
public class TomTomDynamicGuidanceEngine : GuidanceEngine
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public final class StandaloneRouteProgressEngine : RouteProgressEngine
-
Default implementation of a
ReplanningRetryPolicy
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public final class TomTomReplanningRetryPolicy : ReplanningRetryPolicy
-
RouteReplanningEngine
implementation responsible for route replanning.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public final class TomTomRouteReplanningEngine : RouteReplanningEngine
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public final class DefaultSimpleEngineCommonCalculator : SimpleEngineCommonCalculator