The cast API.

interface Cast {
    airplay?: AirPlay;
    casting: boolean;
    chromecast?: Chromecast;
    addEventListener<TType>(type, listener): void;
    removeEventListener<TType>(type, listener): void;
}

Hierarchy (view full)

Properties

airplay?: AirPlay

The Airplay integration API.

Remarks


- Only available with the feature 'airplay'.

casting: boolean

Whether the player is connected with a casting device.

chromecast?: Chromecast

The Chromecast integration API.

Remarks


- Only available with the feature 'chromecast'.

Methods

Generated using TypeDoc