Configuration
The configuration used to set up Navigation SDK to work in offline mode.
At least one of the following properties must be specified:
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Properties
The default ArrivalDetectionEngine during navigation. If it's not provided, an instance created by DefaultArrivalDetectionEngineFactory.create is used.
The default BetterProposalAcceptanceMode during navigation. If it's not provided, the mode is set to BetterProposalAcceptanceMode.Automatic.
Custom engine that updates the data store. If it is not provided, a default implementation of DataStoreMaintenanceEngine based on NdsMapContext.updater will be used. Note that if NdsMapContext.updater is null, the offline map data will not be updated.
Defines whether RouteReplanningEngine should try to replan the active RoutePlan after deviation. If it's not provided, the deviation replanning mode is set to DeviationReplanningMode.Automatic.
The default GuidanceEngine during navigation. If it's not provided, an instance created by GuidanceEngineFactory.createDynamicGuidanceEngine is used.
The default HorizonEngine during navigation. If it's not provided, an instance created by OfflineHorizonEngineFactory.create is used.
The default LocationProvider during navigation.
The default MapMatchingEngine during navigation. If it's not provided, an instance created by OfflineMapMatchingEngineFactory.create is used. If it's not provided, an instance created by OfflineLocationContextProviderEngineFactory.create is used.
Wrapper over the NdsStore and NdsMapUpdater objects.
The default ReplanningRetryPolicy during navigation. If it's not provided, an instance created by ReplanningRetryPolicyFactory.create is used.
Used during instantiation of a default RouteReplanningEngine.
The default RouteProgressEngine during navigation. If it's not provided, an instance created by RouteProgressEngineFactory.create is used.
The default RouteProjectionEngine during navigation. If it's not provided, an instance created by OfflineRouteProjectionEngineFactory.create is used.
Used during instantiation of a default RouteReplanningEngine.
The default RouteReplanningEngine during navigation.
The default RouteTrackingEngine during navigation. If it's not provided, an instance created by RouteTrackingEngineFactory.create is used.
Safety location data provider. It provides safety location data during navigation, which will be used by the horizon engine. If no safety location data provider is specified, there will be no safety location horizon elements in the horizon. If a custom horizon engine is specified in the configuration, this parameter will be ignored: the safety location data providers are injected into the custom horizon engine.
The default VehicleProvider during navigation. If it's not provided, an instance created by VehicleProviderFactory.create is used.