File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
articles/communication-services/how-tos/calling-sdk/includes/events Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,16 @@ Your application should notify the user of the incoming call. The notification p
61
61
** Code sample:**
62
62
``` javascript
63
63
callClient .on (' incomingCall' , (async (incomimgCallEvent ) => {
64
- try {
65
- // Store a reference to the call object
66
- incomingCall = incomimgCallEvent .incomingCall ;
67
- // Update your UI to allow
68
- acceptCallButton .disabled = false ;
69
- callButton .disabled = true ;
70
- } catch (error) {
71
- console .error (error);
72
- }
73
- });
64
+ try {
65
+ // Store a reference to the call object
66
+ incomingCall = incomimgCallEvent .incomingCall ;
67
+ // Update your UI to allow
68
+ acceptCallButton .disabled = false ;
69
+ callButton .disabled = true ;
70
+ } catch (error) {
71
+ console .error (error);
72
+ }
73
+ });
74
74
` ` `
75
75
76
76
#### Event Name: ` callsUpdated`
You can’t perform that action at this time.
0 commit comments