createStaticGuidanceEngine

Creates a StaticGuidanceEngine.

StaticGuidanceEngine generates com.tomtom.sdk.navigation.guidance.Guidance using the list of com.tomtom.sdk.common.route.instruction.Instructions supplied within com.tomtom.sdk.navigation.NavigationSnapshot.activeRoute.

StaticGuidanceEngine depends on the com.tomtom.sdk.common.route.Announcements included in the supplied com.tomtom.sdk.common.route.instruction.Instructions. The engine continuously checks the active route progress to provide up-to-date Guidance information. When the vehicle reaches an announcement point, the generated Guidance includes the (GuidanceAnnouncement) to be announced. Note that the set of supported languages may differ between different GuidanceEngines.

StaticGuidanceEngine should only be used with the online routing client that uses com.tomtom.sdk.routing.common.options.guidance.OnlineApiVersion.v1 as the com.tomtom.sdk.routing.common.options.guidance.GuidanceOptions.guidanceVersion. This is because the instructions from offline and the online routing client configured with com.tomtom.sdk.routing.common.options.guidance.OnlineApiVersion.v2 are designed to be used by the DynamicGuidanceEngine and do not contain static announcement information.

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

See also

Parameters

context

Android context.

options

GuidanceEngineOptions used to configure guidance engine.