subscribe
subscribe
- subscribe():
Promise<RoomSessionFullState>- See RoomSessionFullState for more details.
Listens for the events for which you have provided event handlers and returns the RoomSessionFullState that contains the full state of the room session.
Note that you don’t need to manually call this method to start listening to events, since they are listened automatically.
Returns
Promise<RoomSessionFullState> - See RoomSessionFullState for more details.