The table below contains the room-related events, as well as the purpose of each event. If you want to execute actions based on room events, you can use any of the events mentioned below as an event interface.
Interface | Description |
---|---|
IPostRoomCreate | Handler after a room is created. |
IPostRoomDeleted | Handler after a room is deleted. |
IPostRoomUserJoined | Event interface that allows an app to register as a handler of the This event is triggered after a user successfully joins a room. This event does not allow an app to prevent any action from happening. For that, see the |
IPostRoomUserLeave | Event interface that allows an app to register as a handler of the This event is triggered after a user successfully leaves a room. This event does not allow an app to prevent any action from happening. For that, see the |
IPreRoomCreateExtend | Handler called when an app wants to extend a room. |
IPreRoomCreateModify | Handler called when an app wants to modify a room. |
IPreRoomCreatePrevent | Handler called when an app wants to prevent the creation of a room. |
IPreRoomDeletePrevent | Handler called when an app wants to prevent the deletion of a room. |
IPreRoomUserJoined | Event interface that allows an app to register as a handler of the This event is triggered prior to a user successfully joining a room. To prevent the user from executing such an action, an app should throw the |
IPreRoomUserLeave | Event interface that allows an app to register as a handler of the This event is triggered prior to a user successfully leaving a room. To prevent the user from executing such an action, an app should throw the |
Check out the examples for some of the event interfaces here.