RasterDataSourceCacheConfiguration.withDefaults constructor
- String path
Constructs a Cache object from the provided path and a default cache size of 32 MiB.
pathThe path to the directory to use for the cache. By default, the map gets initialized with a data path which can be fetched fromSDKOptions.cachePath. The cache will be relative to this path, unless an absolute path is provided. The cache can be stored in an internal/external storage as long as the app has read/write permissions. Empty string means the data path will be used for caching. If the provided path, either as absolute path or as relative path is invalid, then caching will be disabled. There is no contraint regarding the existence of the path. If the path does not exist but is valid, it will be created.
Implementation
RasterDataSourceCacheConfiguration.withDefaults(this.path)
: diskSize = 33554432;