Class: Sender

Newscast. Sender

new Sender(config)

The Chromecast app Sender that runs in the user's browser.
Parameters:
Name Type Description
config Object Configuration object
Properties
Name Type Description
namespace String Chromecast namespace for this application.
appId String Chromecast application identifier.
onSenderReady Sender~onSenderReadyCallback Callback to be fired when a device is available to be cast to.
onSenderStarted Sender~onSenderStartedCallback Callback to be fired when casting has begun.
onSenderStopped Sender~onSenderStoppedCallback Callback to be fired when casting has ceased.
debug Boolean If true, debug information will be logged to the console.
Source: