roomStateUpdated
Last updated
Emitted when the room state changes. The updated room state is included in the payload.
Read about the room state specification in the roomState property.
You can also access the latest room state through the roomState property.
{
"type": "roomStateUpdated",
"data": {
//Look at the roomState property for full payload description
}
}sambaFrame.on('roomStateUpdated', (event) => {
const data = event.data;
//Read some properties from the updated room state
//data.layout.mode
});Last updated