top

MULTISCREEN.CHANNELCLIENT

This class provides a simple way to send a message to specific user in Smart View contents with NService.

Add the following line for multiscreen.ChannelClient class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/webapi/1.0/webapis.js">/script>

You can declare multiscreen.ChannelClient class like this :

  ex) var multiscreenChannelClient = webapis.multiscreen.ChannelClient;


Contents

Methods

send

Description
Send a message to the client
Parameters
■msg
  - String
  - The message to send to the client
Return■Void
Emulator SupportY
SDK Constraint.
Example
// callbackresult variable has channelClient object in this example.
var clientObj = callbackresult.clientobj;
clientObj.send(message);