add Event Listener
Registers a listener for room events. Do it before join, or the join itself and the first participants can be missed.
Several listeners are allowed and each is called; the same instance added twice is called twice. Callbacks run on the main thread.
Parameters
listener
override only the events you need — every method has an empty body.