Configuration

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Configuration

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

This configuration offers the following 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 such as junction view, safety locations, and hazards.

  • Full advanced configuration: Includes essential navigation, advanced components, and additionally optional components such as custom navigation engines (route replanning, guidance, horizon, map matching, etc.).

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

Constructors

Link copied to clipboard
constructor(context: Context, ndsStore: NdsStore, 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 offline mode.

constructor(context: Context, ndsStore: NdsStore, ndsMapUpdater: NdsMapUpdater? = null, 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)

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

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion