Class: ReceiverDisplayStatus

  • ReceiverDisplayStatus is a class used to show the receiver status to the user in the extension UI, only valid for CUSTOM receivers.

  • It has a constructor that takes statusText and appImages as parameters.

  • The appImages property is an array of images associated with the application.

  • The showStop property is a boolean indicating whether the user is offered the choice to stop the application.

  • The statusText property provides descriptive text for the current application content.

Constructor

ReceiverDisplayStatus

new ReceiverDisplayStatus(statusText, appImages)

Parameter

statusText

string

Description of current application status in plain text, for example, name of the content being shown.

appImages

Array of non-null chrome.cast.Image

Images associated with the app.

Value must not be null.

Properties

appImages

non-null Array of non-null chrome.cast.Image

Array of images available describing the application.

showStop

nullable boolean

Whether the user is offered the choice to stop the application.

The default value is null, which means extension chooses a default for CUSTOM receivers, and detect DELETE availability for DIAL receivers. |true| means the user can request to stop the application and |false| means they cannot.

statusText

string

Descriptive text for the current application content, for example “My Wedding Slideshow”.