string getStatus(string deviceId)

This function can be used to return the status string of the KioWare Chromecast device (current state of the Chromecast). It returns an undefined status if no device is connected or there is an error. Also, you can (and should) set the status from your HTML content (on the Chromecast), which will enable your webpage in KioWare to know that the content on the Chromecast is ready to receive messages. This is done using parent.setApplicationStatus(string status) in the iframe on the Chromecast.

Parameters

Name Description
deviceId The ID of the device.

Return

The device status.