Skip to content

Commit 1f879dd

Browse files
authored
Update raise-hand-web.md
1 parent f9968fb commit 1f879dd

File tree

1 file changed

+9
-9
lines changed
  • articles/communication-services/how-tos/calling-sdk/includes/raise-hand

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: rifox
88
[!INCLUDE [Install SDK](../install-sdk/install-sdk-web.md)]
99

1010
> [!NOTE]
11-
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. To use this api please use 'beta' release of Azure Communication Services Calling Web SDK
11+
> Raise Hand API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. To use this api please use 'beta' release of Azure Communication Services Calling Web SDK
1212
1313
Raise Hand is an extended feature of the core `Call` API. You first need to import calling Features from the Calling SDK:
1414

@@ -23,9 +23,9 @@ const raiseHandFeature = call.feature(Features.RaiseHand );
2323
```
2424

2525
### Raise and Lower Hand for current participant:
26-
Raise Hand state can be used this any call type: on 1:1 calls and on calls with many participants, in ACS and in Teams calls.
26+
Raise Hand state can be used in any call type: on 1:1 calls and on calls with many participants, in ACS and in Teams calls.
2727
If it Teams meeting - organizer will have ability to enable or disable raise hand states for all participants.
28-
To change state for current participant you can use methods:
28+
To change state for current participant, you can use methods:
2929
```js
3030
const raiseHandFeature = call.feature(Features.RaiseHand );
3131
//raise
@@ -35,7 +35,7 @@ raiseHandFeature.lowerHand();
3535
```
3636

3737
### Lower hands for other participants
38-
Currently ACS calls are not allow to change state of other participants, for example, lower all hands. But on Teams calls is can be done using this methods:
38+
Currently ACS calls aren't allowed to change state of other participants, for example, lower all hands. But Teams calls allow it using these methods:
3939
```js
4040
const raiseHandFeature = call.feature(Features.RaiseHand );
4141
//lower all hands on the call
@@ -48,28 +48,28 @@ raiseHandFeature.lowerHand(participants);
4848
```
4949

5050
### Handle changed states
51-
The `Raise Hand` API allows you to subscribe to `raiseHandChanged` events. A `raiseHandChanged` event comes from a `call` instance and contain information about participant and his new state.
51+
The `Raise Hand` API allows you to subscribe to `raiseHandChanged` events. A `raiseHandChanged` event comes from a `call` instance and contain information about participant and new state.
5252
```js
5353
const raiseHandFeature = call.feature(Features.RaiseHand );
5454

5555
// event : {identifier: CommunicationIdentifier, isRaised: true, order:1}
5656
const isRaiseHandChangedHandler = (event) => {
57-
console.log(`Participant ${event.identifier} ${event.isRaised ? "Raised" : "Lower"} his hand`);
57+
console.log(`Participant ${event.identifier} ${event.isRaised ? "Raised" : "Lower"} hand`);
5858
};
5959
raiseHandFeature.feature(SDK.Features.RaiseHand).on('raiseHandChanged', isRaiseHandChangedHandler):
6060
```
6161

6262
### List of all participants with active state
63-
To get information about all participants that have Raise Hand state on current call you can use this api array is sorted by order field:
63+
To get information about all participants that have Raise Hand state on current call, you can use this api array is sorted by order field:
6464
```js
6565
const raiseHandFeature = call.feature(Features.RaiseHand );
6666
let activeStates = raiseHandFeature.getStatus();
6767
```
6868

6969
### Order of Raised Hands
7070
It possible to get order of all raised hand states on the call, this order is started from 1.
71-
To get it there is two ways: get all raise hand state on the call or use `raiseHandChanged` event subscription.
72-
In case of event subscription when any participant will lower a hand - call will generate only one event, but not for all participants with order above.
71+
There are two ways: get all raise hand state on the call or use `raiseHandChanged` event subscription.
72+
In event subscription when any participant will lower a hand - call will generate only one event, but not for all participants with order above.
7373

7474
```js
7575
const raiseHandFeature = call.feature(Features.RaiseHand );

0 commit comments

Comments
 (0)