The API for casting.
Optional
Readonly
The Airplay API.
- Only available when the feature or extension 'airplay' is enabled.
'airplay'
Whether the player is connected with a casting device.
The Chromecast API.
- Only available when the feature or extension 'chromecast' is enabled.
'chromecast'
The API for casting.