logo

THEOplayer > Cast

Cast interface

Inherits from EventDispatcher<CastEventMap> . See parent page for inherited properties and methods.

The cast API.

Signature:

export interface Cast extends EventDispatcher<CastEventMap> 

Properties

Property

Type

Description

airplay (optional)

AirPlay

The Airplay integration API.

casting

boolean

Whether the player is connected with a casting device.

chromecast (optional)

Chromecast

The Chromecast integration API.

Property Details

airplay

The Airplay integration API.

Signature:

airplay?: AirPlay;

Remarks


- Only available with the feature 'airplay'.

casting

Whether the player is connected with a casting device.

Signature:

casting: boolean;

chromecast

The Chromecast integration API.

Signature:

chromecast?: Chromecast;

Remarks


- Only available with the feature 'chromecast'.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
San Francisco
Singapore
Barcelona