Interface RoomStatusChange

Represents a change in the status of the room.

interface RoomStatusChange {
    current: RoomStatus;
    error?: ErrorInfo;
    previous: RoomStatus;
}

Properties

current: RoomStatus

The new status of the room.

error?: ErrorInfo

An error that provides a reason why the room has entered the new status, if applicable.

previous: RoomStatus

The previous status of the room.