Configuration

The configuration used to set up TomTomNavigation to work in hybrid mode.

This configuration offers two setup options:

  • Basic configuration: Sets up the Navigation SDK with essential navigation components.

  • Advanced configuration: Includes essential navigation and additional components for advanced use cases.

For detailed information, refer to the documentation within the constructors.

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

Constructors

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

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

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, routeTrackingEngine: RouteTrackingEngine? = null, routeProgressEngine: RouteProgressEngine? = null, arrivalDetectionEngine: ArrivalDetectionEngine? = null, safetyLocationsConfiguration: SafetyLocationsConfiguration? = null, hazardsConfiguration: HazardsConfiguration? = null, traffic: Traffic? = null)

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

Types

Link copied to clipboard
object Companion