Skip to content

Commit 948aab2

Browse files
committed
add caller and transferor changed event
1 parent 7342e3a commit 948aab2

File tree

1 file changed

+31
-0
lines changed
  • articles/communication-services/how-tos/calling-sdk/includes/events

1 file changed

+31
-0
lines changed

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,37 @@ call.on('mutedByOthers', () => {
323323
});
324324
```
325325
326+
### Event: `callerInfoChanged`
327+
328+
The `callerInfoChanged` event happens when caller information was updated.
329+
330+
**How might your application react to the event?**
331+
Application can update caller information.
332+
333+
**Code Sample:**
334+
335+
```javascript
336+
call.on('callerInfoChanged', () => {
337+
showCallerInfo(call.callerInfo)
338+
});
339+
```
340+
341+
### Event: `transferorInfoChanged`
342+
343+
The `transferorInfoChanged` event happens when transferor information was updated.
344+
345+
**How might your application react to the event?**
346+
Application can update transferor information.
347+
348+
**Code Sample:**
349+
350+
```javascript
351+
call.on('transferorInfoChanged', () => {
352+
showTransferorInfo(call.transferorInfo)
353+
});
354+
```
355+
356+
326357
<!---- RemoteParticipant ---->
327358
## Events on the `RemoteParticipant` object
328359

0 commit comments

Comments
 (0)