Interface ChromecastEventMap

The events fired by the Chromecast API.

interface ChromecastEventMap {
    error: ChromecastErrorEvent;
    statechange: CastStateChangeEvent;
}

Hierarchy (view full)

Properties

Properties

Fired when an error occurs while casting or trying to cast.

Fired when the state changes.