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

PoiPhotoSpecification

@Beta(2020, 12) class PoiPhotoSpecification

Defines the parameters of a POI photo.

Parameters

id - The ID of a photo returned by the POI Details endpoint.

photoDimensions - Specifies the dimensions of the returned photo.

poiPhotoCacheStrategy - Specifies the caching strategy for this photo.

Types

Builder

class Builder

Builder used to create an instance of PoiPhotoSpecification. Once constructed, the user cannot change the field values.

Properties

id

val id: UUID

The ID of a photo returned by the POI Details endpoint.

photoDimensions

val photoDimensions: PhotoDimensions?

Specifies the dimensions of the returned photo.

poiPhotoCacheStrategy

val poiPhotoCacheStrategy: PoiPhotoCacheStrategy

Specifies the caching strategy for this photo.