Class: Image

  • cast.framework.messages.Image is a static class representing an image associated with a receiver application or media item.

  • It is constructed using a URL string parameter.

  • The class has properties for height, url, and width.

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.