Image

constructor(url: String, type: String, category: String, thumbnail: String? = null, width: Int? = null, height: Int? = null)

Parameters

url

URL from where the image data can be fetched through a web browser.

type

Image type like: gif, jpeg, png, svg.

category

Describes what the image is used for.

thumbnail

URL from where a thumbnail of the image can be fetched through a web browser.

width

Width of the full scale image.

height

Height of the full scale image.