on 2019 Aug 20 9:01 PM
Request clarification before answering.
Hi ricardo.renteria2 ,
you can do this with a plugin:
JSONObject oJSON = new JSONObject();
JSONObject oJSONEventPayload = new JSONObject();
String[][] array = new String[1][];
oJSON.put("type", "event");
oJSON.put("eventId", "FOO");
oJSON.put("eventName", "BAR");
oJSONEventPayload.put("width", "100");
array[0] = new String[] {"key", "value"};
oJSONEventPayload.put("elements", array);
oJSON.put("eventPayload", oJSONEventPayload);
BroadcasterHolder.INSTANCE.getBroadcaster().broadcastActionForPath("/ws/tech", "plugin", oJSON);
hth
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.