Skip to content

Commit 744e6c8

Browse files
authored
readme: fix typo
fix typo and remove duplicated `endAllCalls` method sections
1 parent 2b1442e commit 744e6c8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ RNCallKeep.endCall(uuid);
229229

230230
### endAllCalls
231231

232-
End all ongoing connections.
232+
End all ongoing calls.
233233

234234
```js
235235
RNCallKeep.endAllCalls();
@@ -295,14 +295,6 @@ RNCallKeep.setOnHold(uuid, true)
295295
- uuid of the current call.
296296
- `hold`: boolean
297297

298-
### endAllCalls
299-
300-
End all calls that have been started on the device.
301-
302-
```js
303-
RNCallKeep.endAllCalls();
304-
```
305-
306298
### checkIfBusy
307299

308300
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 +455,7 @@ RNCallKeep.addEventListener('didDisplayIncomingCall', ({ error, callUUID, handle
463455
- `fromPushKit` (string)
464456
- `1` (call triggered from PushKit)
465457
- `0` (call not triggered from PushKit)
466-
- `didDisplayIncomingCall` (object)
458+
- `payload` (object)
467459
- VOIP push payload.
468460

469461
### - didPerformSetMutedCallAction

0 commit comments

Comments
 (0)