CacheStorageConfiguration

class CacheStorageConfiguration(val directoryPath: File? = null, val maxDiskSize: Memory = DEFAULT_MAX_DISK_SIZE, val mapVectorTilesRefreshPeriod: Duration = DEFAULT_MAP_VECTOR_TILES_REFRESH_PERIOD)

Persistent cache storage configuration of a map data store that can provide map data from online sources.

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

See also

Constructors

Link copied to clipboard
constructor(directoryPath: File? = null, maxDiskSize: Memory = DEFAULT_MAX_DISK_SIZE, mapVectorTilesRefreshPeriod: Duration = DEFAULT_MAP_VECTOR_TILES_REFRESH_PERIOD)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val directoryPath: File? = null

The full path to the persistent cache storage directory.

Link copied to clipboard

The period after which a cached map tile is considered outdated and is consequently refreshed.

Link copied to clipboard

The maximum amount of storage space the persistent cache storage can occupy.