You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event **breakoutRoomsUpdated** provides instance of one of the following classes as an input parameter. You can use property `type` to distinguish between individual event types.
33
33
34
34
1. Class `BreakoutRoomsEvent`: This event is triggered when a user with a role organizer, co-organizer, or breakout room manager creates or updates the breakout rooms. Microsoft 365 users with role organizer, co-organizer or breakout room manager can receive this type of event. Developers can use the breakout rooms in property `data` to render details about all breakout rooms. This class has property `type` equal to `"breakoutRooms"`.
35
-
```js
35
+
```js
36
36
exportinterfaceBreakoutRoomsEvent {
37
37
/**
38
38
* Breakout room event type
@@ -43,10 +43,10 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
43
43
*/
44
44
data: BreakoutRoom[] | undefined;
45
45
}
46
-
```
46
+
```
47
47
48
48
2. Class `BreakoutRoomsSettingsEvent`: This event is triggered when a user with a role organizer, co-organizer, or breakout room manager updates the breakout room's settings. Developers can use this information to render the time when breakout room ends or decide whether to render button to join main room. This class has property `type` equal to `"breakoutRoomSettings"`.
49
-
```js
49
+
```js
50
50
exportinterfaceBreakoutRoomSettingsEvent {
51
51
/**
52
52
* Breakout room event type
@@ -57,10 +57,11 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
57
57
*/
58
58
data: BreakoutRoomSettings | undefined;
59
59
}
60
-
```
60
+
```
61
61
62
62
3. Class `AssignedBreakoutRoomsEvent`: This event is triggered when user is assigned to a breakout room, or assigned breakout room is updated. Users can join the breakout room when property `state` is set to `open`, leave the breakout room when property `state` is set to `closed` or render details of the breakout room. This class has property `type` equal to `"assignedBreakoutRoom"`.
63
-
```js
63
+
64
+
```js
64
65
exportinterfaceAssignedBreakoutRoomEvent {
65
66
/**
66
67
* Breakout room event type
@@ -71,11 +72,10 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
71
72
*/
72
73
data: BreakoutRoom | undefined;
73
74
}
74
-
```
75
-
75
+
```
76
76
77
77
4. Class `JoinBreakoutRoomsEvent` : This event is triggered when the participant is joining breakout room call. This event can happen when user is automatically moved to breakout room (that is, if `assignedBreakoutRoom` has property `state` set to `open` and `autoMoveParticipantToBreakoutRoom` is set to `true`) or when user explicitly joins breakout room (that is, calls method `join` on the instance `assignedBreakoutRoom` when `autoMoveParticipantToBreakoutRoom` is set to `false`). Property `data` contains the breakout room `call` instance, that developers can use to control breakout room call. This class has property `type` equal to `"join"`.
78
-
```js
78
+
```js
79
79
exportinterfaceJoinBreakoutRoomEvent {
80
80
/**
81
81
* Breakout room event type
@@ -86,7 +86,7 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
86
86
*/
87
87
data: Call | TeamsCall;
88
88
}
89
-
```
89
+
```
90
90
The following code shows you valuable information received in the breakout room events:
0 commit comments