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

DiskCacheStrategy

@Beta(2020, 12) enum class DiskCacheStrategy

Describes if 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.