Configuration

constructor(context: Context, hybridNavigationDataStore: HybridNavigationDataStore, locationProvider: LocationProvider, onlineRoutePlanner: RoutePlanner, offlineRoutePlanner: RoutePlanner, vehicleProvider: VehicleProvider = VehicleProviderFactory.create(), betterProposalAcceptanceMode: BetterProposalAcceptanceMode = BetterProposalAcceptanceMode.Automatic, deviationReplanningMode: DeviationReplanningMode = DeviationReplanningMode.Automatic)

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

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


constructor(context: Context, hybridNavigationDataStore: HybridNavigationDataStore, locationProvider: LocationProvider, onlineRoutePlanner: RoutePlanner? = null, offlineRoutePlanner: RoutePlanner? = null, vehicleProvider: VehicleProvider = VehicleProviderFactory.create(), betterProposalAcceptanceMode: BetterProposalAcceptanceMode = BetterProposalAcceptanceMode.Automatic, deviationReplanningMode: DeviationReplanningMode = DeviationReplanningMode.Automatic, replanningRetryPolicy: ReplanningRetryPolicy = ReplanningRetryPolicyFactory.create(), routeReplanningEngine: RouteReplanningEngine? = null, dataStoreMaintenanceEngine: DataStoreMaintenanceEngine? = null, dataStoreSelectionEngine: DataStoreSelectionEngine? = null, guidanceEngine: GuidanceEngine? = null, horizonEngine: HorizonEngine? = null, mapMatchingEngine: MapMatchingEngine? = null, routeProjectionEngine: RouteProjectionEngine? = null, routeTrackingEngine: RouteTrackingEngine? = null, routeProgressEngine: RouteProgressEngine? = null, arrivalDetectionEngine: ArrivalDetectionEngine? = null, safetyLocations: SafetyLocations? = null)

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

At least one of the following properties or combinations of properties must be specified:

  • onlineRoutePlanner and offlineRoutePlanner

  • routeReplanningEngine

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

Throws

If neither routeReplanningEngine nor both onlineRoutePlanner and offlineRoutePlanner are specified.