The problem was solved
Result in the next post!!
1)Event.TYPE_TEXT_MESSAGE:
Event event = new Event(Event.TYPE_TEXT_MESSAGE, deviceSession.getDeviceId());
event.set("message",myData);
notificatorWeb.sendSync(userId, event, null);
2)Event.TYPE_COMMAND_RESULT:
Event event = new Event(Event.TYPE_COMMAND_RESULT, deviceSession.getDeviceId());
event.set("result",myData);
notificatorWeb.sendSync(1, event, null);
hi there,
I am sending a command and I want to display the result as a notification so I am sending a web notification as below
But the result is as follows
In fact, I want to show the result in this notification
How can I fix this?