CachingConfiguration
Configuration parameters for caching navigation map data that is stored in NavigationTileStore. It configures in-memory tile store size and the persistent store.
Constructors
Creates a default CachingConfiguration.
Creates a new CachingConfiguration.
Creates a new CachingConfiguration. Important: This is a Public Preview API. It may be changed or removed at any time.
Creates a new CachingConfiguration.
Properties
Size limit for the in-memory tile store. The parameter defaults to DEFAULT_CACHE_MEMORY_MAX_SIZE. It behaves like a soft limit, ensuring that essential data is preserved in memory, even if it surpasses the specified limit. A very small limit may lead to increased disk reading, as tiles are promptly removed from memory once they are no longer immediately required. An excessively high limit may result in tiles occupying a significant amount of memory over an extended period.
Persistent cache storage configuration. CacheStorageConfiguration configures path and maximum disk size of the persistent cache storage. If the parameter is omitted, the default persistent cache storage configuration is used. If the parameter is set to null, persistent cache storage is NOT used.
Persistent cache storage configuration. CacheStorageConfiguration configures path and maximum disk size of the persistent cache storage. Default value is DEFAULT_CACHE_STORAGE_CONFIGURATION.
The period after which a downloaded tile is considered stale and automatically triggers a refresh when accessed. The parameter defaults to DEFAULT_TILE_REFRESH_PERIOD.
Functions
Creates a copy of this CachingConfiguration object with optional parameter overrides.
Creates a copy of this CachingConfiguration object with optional parameter overrides. Important: This is a Public Preview API. It may be changed or removed at any time.
Checks if this CachingConfiguration object is equal to another object.
Generates a hash code for this CachingConfiguration object.