@@ -218,7 +218,8 @@ RNCallKeep.updateDisplay(uuid, displayName, handle)
218
218
219
219
### endCall
220
220
221
- When you finish an incoming/outgoing call.
221
+ When finish an incoming/outgoing call.
222
+ (When user actively chooses to end the call from your app's UI.)
222
223
223
224
``` js
224
225
RNCallKeep .endCall (uuid);
@@ -229,7 +230,7 @@ RNCallKeep.endCall(uuid);
229
230
230
231
### endAllCalls
231
232
232
- End all ongoing connections .
233
+ End all ongoing calls .
233
234
234
235
``` js
235
236
RNCallKeep .endAllCalls ();
@@ -248,7 +249,9 @@ RNCallKeep.rejectCall(uuid);
248
249
249
250
### reportEndCallWithUUID
250
251
251
- Report that the call ended without the user initiating
252
+ Report that the call ended without the user initiating.
253
+ (Not ended by user, is usually due to the following reasons)
254
+
252
255
253
256
``` js
254
257
RNCallKeep .reportEndCallWithUUID (uuid, reason);
@@ -295,14 +298,6 @@ RNCallKeep.setOnHold(uuid, true)
295
298
- uuid of the current call.
296
299
- ` hold ` : boolean
297
300
298
- ### endAllCalls
299
-
300
- End all calls that have been started on the device.
301
-
302
- ``` js
303
- RNCallKeep .endAllCalls ();
304
- ```
305
-
306
301
### checkIfBusy
307
302
308
303
Checks if there are any active calls on the device and returns a promise with a boolean value (` true ` if there're active calls, ` false ` otherwise).
@@ -463,7 +458,7 @@ RNCallKeep.addEventListener('didDisplayIncomingCall', ({ error, callUUID, handle
463
458
- ` fromPushKit ` (string)
464
459
- ` 1 ` (call triggered from PushKit)
465
460
- ` 0 ` (call not triggered from PushKit)
466
- - ` didDisplayIncomingCall ` (object)
461
+ - ` payload ` (object)
467
462
- VOIP push payload.
468
463
469
464
### - didPerformSetMutedCallAction
0 commit comments