I have a question about leaving a room and responses. I'm using the JS framework and wondering how to leave a room, eg:
- Code: Select all
// I have a room called Test Room I can see via UnionAdmin, and I call this but Its not correct:
orbiter.getRoomManager().leave('Test Room');
I also didn't understand how to get the results of an event, because the leave() method returns void, but there are these constants:
http://unionplatform.com/docs/orbiter/a ... AVE_RESULT
Is there a common method for fetch leave.leave_result(), or any result for that matter, eg:
orbiter.getClassName().result(CONSTANT);
Thanks
Jesse