KONtx.remotedevice.publishLaunchUrlMessage

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

Synopsis

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

Parameters

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

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

Description

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