string sendMessage(string deviceId, string msg)
This function can be used to send a message to the KioWare Chromecast iframe, which is received via your onMessage function in the content. It will return a GUID if it successfully queued the message.
Parameters
Name | Description |
deviceId | The ID of the device to send the message to. |
msg | The message to send. |
Return
The GUID of the message, if queued successfully.