Configuration

constructor(    context: Context,     ndsMapContext: NdsMapContext,     locationProvider: LocationProvider,     routePlanner: RoutePlanner,     vehicleProvider: VehicleProvider = VehicleProviderFactory.create(),     betterProposalAcceptanceMode: BetterProposalAcceptanceMode = BetterProposalAcceptanceMode.Automatic,     deviationReplanningMode: DeviationReplanningMode = DeviationReplanningMode.Automatic)

Simple configuration used to set up Navigation SDK to work in offline mode.

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


constructor(    context: Context,     ndsMapContext: NdsMapContext,     locationProvider: LocationProvider,     routePlanner: RoutePlanner? = null,     vehicleProvider: VehicleProvider = VehicleProviderFactory.create(),     betterProposalAcceptanceMode: BetterProposalAcceptanceMode = BetterProposalAcceptanceMode.Automatic,     deviationReplanningMode: DeviationReplanningMode = DeviationReplanningMode.Automatic,     replanningRetryPolicy: ReplanningRetryPolicy = ReplanningRetryPolicyFactory.create(),     routeReplanningEngine: RouteReplanningEngine? = null,     dataStoreMaintenanceEngine: DataStoreMaintenanceEngine? = null,     guidanceEngine: GuidanceEngine? = null,     horizonEngine: HorizonEngine? = null,     mapMatchingEngine: MapMatchingEngine? = null,     routeTrackingEngine: RouteTrackingEngine? = null,     routeProgressEngine: RouteProgressEngine? = null,     arrivalDetectionEngine: ArrivalDetectionEngine? = null,     safetyLocationsConfiguration: SafetyLocationsConfiguration? = null,     hazardsConfiguration: HazardsConfiguration? = null)

Advanced configuration used to set up Navigation SDK to work in offline mode.

At least one of the following properties must be specified:

  • routePlanner

  • routeReplanningEngine

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

Throws

If neither routePlanner nor routeReplanningEngine is specified.