ThumbnailInfo

@JsonClass(generateAdapter = true)
data class ThumbnailInfo(    @Json(name = "w") val width: Int = 0,     @Json(name = "h") val height: Int = 0,     @Json(name = "size") val size: Long = 0,     @Json(name = "mimetype") val mimeType: String?)

Constructors

Link copied to clipboard
fun ThumbnailInfo(    @Json(name = "w") width: Int = 0,     @Json(name = "h") height: Int = 0,     @Json(name = "size") size: Long = 0,     @Json(name = "mimetype") mimeType: String?)

Properties

Link copied to clipboard
val height: Int = 0

The intended display height of the image in pixels. This may differ from the intrinsic dimensions of the image file.

Link copied to clipboard
val mimeType: String?

The mimetype of the image, e.g. "image/jpeg".

Link copied to clipboard
val size: Long = 0

Size of the image in bytes.

Link copied to clipboard
val width: Int = 0

The intended display width of the image in pixels. This may differ from the intrinsic dimensions of the image file.