@PublicPreview("2021.06") data class PoiPhotoCacheStrategy
Describes the caching strategy of a photo that will be loaded.
diskCacheStrategy
- Specifies the disk caching. Disk caching is disabled by default.
enableMemoryCaching
- Specifies if memory caching should be enabled. Memory caching is disabled by default.
PoiPhotoCacheStrategy(enableMemoryCaching: Boolean) PoiPhotoCacheStrategy(diskCacheStrategy: DiskCacheStrategy) PoiPhotoCacheStrategy(diskCacheStrategy: DiskCacheStrategy = DiskCacheStrategy.NONE, enableMemoryCaching: Boolean = false)
Describes the caching strategy of a photo that will be loaded. |
val diskCacheStrategy: DiskCacheStrategy
Specifies the disk caching. Disk caching is disabled by default. |
|
val enableMemoryCaching: Boolean
Specifies if memory caching should be enabled. Memory caching is disabled by default. |