Class: Image

  • cast.framework.messages.Image is a class representing an image, such as an app icon or thumbnail, associated with a receiver application or media item.

  • It's constructed using a URL and includes properties for height, width, and the image URL itself.

Constructor

Image

new Image(url)

Parameter

url

string

The image URL.

Properties

height

(number or undefined)

The image height.

url

string

The image URL.

width

(number or undefined)

The image width.