Skip to content

Commit 6c64233

Browse files
fixed reviewer comments
1 parent 76345ea commit 6c64233

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/communication-services/how-tos/calling-sdk/includes/breakoutrooms/breakoutrooms-web.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ breakoutRoomsFeature.on('breakoutRoomsUpdated', breakoutRoomsUpdatedListener);
3232
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.
3333

3434
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
3636
export interface BreakoutRoomsEvent {
3737
/**
3838
* Breakout room event type
@@ -43,10 +43,10 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
4343
*/
4444
data: BreakoutRoom[] | undefined;
4545
}
46-
```
46+
```
4747

4848
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
5050
export interface BreakoutRoomSettingsEvent {
5151
/**
5252
* Breakout room event type
@@ -57,10 +57,11 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
5757
*/
5858
data: BreakoutRoomSettings | undefined;
5959
}
60-
```
60+
```
6161

6262
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
6465
export interface AssignedBreakoutRoomEvent {
6566
/**
6667
* Breakout room event type
@@ -71,11 +72,10 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
7172
*/
7273
data: BreakoutRoom | undefined;
7374
}
74-
```
75-
75+
```
7676

7777
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
7979
export interface JoinBreakoutRoomEvent {
8080
/**
8181
* Breakout room event type
@@ -86,7 +86,7 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
8686
*/
8787
data: Call | TeamsCall;
8888
}
89-
```
89+
```
9090
The following code shows you valuable information received in the breakout room events:
9191
```js
9292
const breakoutRoomsUpdatedListener = (event) => {

0 commit comments

Comments
 (0)