The table below lists the room-related events and their purposes. If you want to execute actions based on room events, you can use any of the events mentioned below as an event interface. For further details, you can refer to the Apps-Engine TypeScript definition.
Check out the examples for some of the event interfaces here.
Interface | Description |
|---|---|
| Handler after a room is created. |
| Handler after a room is deleted. |
| 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 |
| 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 |
| Handler called when an app wants to extend a room. |
| Handler called when an app wants to modify a room. |
| Handler called when an app wants to prevent the creation of a room. |
| Handler called when an app wants to prevent a room from being deleted. |
| Allows an app to register as a handler of the This event is triggered before a user successfully joins a room. To prevent the user from executing such an action, an app should throw the |
| Allows an app to register as a handler of the This event is triggered before a user successfully leaves a room. To prevent the user from executing such an action, an app should throw the |