sdk-search / com.tomtom.online.sdk.search.poi.photos / DiskCacheStrategy

DiskCacheStrategy

@PublicPreview("2021.06") enum class DiskCacheStrategy

Describes if the returned photo should be cached in the storage memory. Disk caching is set to NONE by default.

Enum Values

ALL

Specifies that both the photo data before decoding and the end result will be saved.

RAW

Specifies that the photo data before decoding will be saved.

DECODED

Specifies that only the decoded and resized photo will be saved.

NONE

Specifies that disk caching should not be enabled for this photo.