publishes a message to remote devices identifying media to be launched by URL


Boolean publishLaunchUrlMessage(String title, String url, [Array<String> instanceIds])


The String title parameter is the title of the media. The String url parameter is the URL of the media.

If the optional parameter instanceIds is specified, the message should only be sent to the remote devices identified. No other devices receive the message. This parameter can be a String for a single instanceId, an Array<String> of instanceIds or null. If null, the message is sent to all connected remote devices that are subscribed to media launch messages.


Returns true if sending the message is successful. Returns false otherwise.


Helper method to publish a message to devices indicating the media to be launched by URL. Send the media's metadata to subscribed (or identified) devices so they can display the media.

Table of Contents