sdk-search / com.tomtom.online.sdk.search.poi.photos / PoiPhotoCacheStrategy / <init>

<init>

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.

Parameters

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.