Class: Image

  • chrome.cast.Image is a class for describing images related to receiver applications or media items.

  • The Image object is created using a constructor that requires the image URL.

  • Properties of the Image object include height, url, and width.

Constructor

Image

new Image(url)

Parameter

url

string

The URL to the image.

Properties

height

nullable number

The height of the image.

url

string

The URL to the image.

width

nullable number

The width of the image.