onRoomUpdate abstract method

void onRoomUpdate({
  1. required HMSRoom room,
  2. required HMSRoomUpdate update,
})

This is called when there is a change in any property of the Room

To Enable onRoomUpdate activate Enable Room-State from dashboard under templates->Advance Settings.

  • Parameters:
    • room: the room which was joined
    • update: the triggered update type. Should be used to perform different UI Actions

Implementation

void onRoomUpdate({required HMSRoom room, required HMSRoomUpdate update});