DiscoveryImageMetadata

data class DiscoveryImageMetadata(val url: String?, val width: Int?, val height: Int?, val ratio: String?, val fallback: Boolean?, val domainList: List<String>?) : Parcelable

Represents metadata for an image associated with an event or attraction.

Parameters

url

The URL of the image, or null if not set.

width

The width of the image in pixels, or null if not set.

height

The height of the image in pixels, or null if not set.

ratio

The aspect ratio of the image, or null if not set.

fallback

Whether the image is a fallback, or null if not set.

domainList

List of domains for the image, or null if not set.

Constructors

Link copied to clipboard
constructor(url: String?, width: Int?, height: Int?, ratio: String?, fallback: Boolean?, domainList: List<String>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int?
Link copied to clipboard
Link copied to clipboard
val url: String?
Link copied to clipboard
val width: Int?

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)