Configuration
class Configuration
The configuration used to set up TomTomNavigation to work in online 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. The advanced configuration allows for extensive customization of individual navigation engines and components. Using the advanced configuration and setting default engines is equivalent to using the basic constructor.
For detailed information, refer to the documentation within the constructors.
Constructors
Link copied to clipboard
constructor(context: Context, navigationTileStore: NavigationTileStore, locationProvider: LocationProvider, routePlanner: RoutePlanner, vehicleProvider: VehicleProvider = VehicleProviderFactory.create(), betterProposalAcceptanceMode: BetterProposalAcceptanceMode = BetterProposalAcceptanceMode.Automatic, deviationReplanningMode: DeviationReplanningMode = DeviationReplanningMode.Automatic)
Basic configuration used to set up Navigation SDK to work in online mode.
constructor(context: Context, navigationTileStore: NavigationTileStore, 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, traffic: Traffic? = null)
Advanced configuration used to set up Navigation SDK to work in online mode.