Expand description
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
Structsยง
- Disable
Params - Stops observing for sinks and issues. disable
- Disable
Returns - Stops observing for sinks and issues. disable
- Enable
Params - Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired. enable
- Enable
Params Builder - Enable
Returns - Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired. enable
- Event
Issue Updated - This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue. issueUpdated
- Event
Sinks Updated - This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to. sinksUpdated
- SetSink
ToUse Params - Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK. setSinkToUse
- SetSink
ToUse Params Builder - SetSink
ToUse Returns - Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK. setSinkToUse
- Sink
- Sink
Builder - Start
Desktop Mirroring Params - Starts mirroring the desktop to the sink. startDesktopMirroring
- Start
Desktop Mirroring Params Builder - Start
Desktop Mirroring Returns - Starts mirroring the desktop to the sink. startDesktopMirroring
- Start
TabMirroring Params - Starts mirroring the tab to the sink. startTabMirroring
- Start
TabMirroring Params Builder - Start
TabMirroring Returns - Starts mirroring the tab to the sink. startTabMirroring
- Stop
Casting Params - Stops the active Cast session on the sink. stopCasting
- Stop
Casting Params Builder - Stop
Casting Returns - Stops the active Cast session on the sink. stopCasting