Package-level declarations

Types

Link copied to clipboard
class AreaAlongRoute(val corridorWidth: Distance = DEFAULT_CORRIDOR_WIDTH)

Defines an area along a route for prefetching.

Link copied to clipboard
class CacheStorageConfiguration(val directoryPath: File? = null, val maxDiskSize: Memory = DEFAULT_MAX_DISK_SIZE)

Configuration parameters for a CacheStorageConfiguration.

Link copied to clipboard
class CachingConfiguration(val cacheMemoryMaxSize: Memory = DEFAULT_CACHE_MEMORY_MAX_SIZE, val cacheStorageConfiguration: CacheStorageConfiguration? = DEFAULT_CACHE_STORAGE_CONFIGURATION)

Configuration parameters for caching navigation map data that is stored in NavigationTileStore. It configures in-memory tile store size and the persistent store.

Link copied to clipboard

NavigationTileStore Implementation of a DataStore which is based on an online map. It requires a position around which the cloud data will be fetched.

Link copied to clipboard
class NavigationTileStoreConfiguration(val apiKey: String, val baseUrl: URL = NAVIGATION_TILES_BASE_URL, val initialLanguage: Locale = LocaleProvider.preferredLocale(), val cachingConfiguration: CachingConfiguration = DEFAULT_CACHING_CONFIGURATION, val prefetchingConfiguration: PrefetchingConfiguration = DEFAULT_PREFETCHING_CONFIGURATION)

Configuration parameters for a NavigationTileStore. It can configure the language of navigation tiles, as well as caching and prefetching mechanisms. These adjustments make the system more or less robust against temporary unavailability of the map data source, but they also increase memory and bandwidth costs.

Link copied to clipboard
class PrefetchingConfiguration(val prefetchedAreaRadius: Distance = DEFAULT_RADIUS, val shouldRequestLaneTiles: Boolean = false)

Configuration parameters for prefetching navigation map data. It defines area around the current position or around the active route for which navigation map data is prefetched and kept available in NavigationTileStore. The larger the radius, the more robust the system is to temporary unavailability of the map data source, but at a greater memory and bandwidth cost.