Whether the player is casting.
The callback for the Chromecast connection changes.
The last error that occurred during casting, if any.
The name of the Chromecast device that the player is casting to, if any.
The source of the active casting session, if any.
Superseded by Chromecast.connectionCallback.
The state of the casting process.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Leave the active casting session.
- Does not stop the session when other devices are connected.
- Use VendorCast.stop to fully stop the session.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Generated using TypeDoc
The Chromecast API.