rns-nativecall 0.9.7 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,11 +114,12 @@ export default function App() {
|
|
|
114
114
|
### 📖 API Reference
|
|
115
115
|
| Method | Description |
|
|
116
116
|
| :--- | :--- |
|
|
117
|
-
| **registerHeadlessTask(callback)** | Registers background logic. `eventType` is `
|
|
118
|
-
| **displayCall(uuid, name, type)** | Shows the native call UI. Type is `
|
|
117
|
+
| **registerHeadlessTask(callback)** | Registers background logic. `eventType` is `INCOMING_CALL` or `BUSY`. |
|
|
118
|
+
| **displayCall(uuid, name, type)** | Shows the native call UI. Type is `audio` or `video`. |
|
|
119
|
+
| **checkCallValidity(uuid)** | Returns boolen value for `isValid` and `isCanceled` |
|
|
119
120
|
| **destroyNativeCallUI(uuid)** | Dismisses the native call interface. |
|
|
120
|
-
| **getInitialCallData()** | Returns call data if the app was launched by clicking
|
|
121
|
-
| **subscribe(onAccept, onReject)** | Listens for native button presses (Answer/End)
|
|
121
|
+
| **getInitialCallData()** | Returns call data if the app was launched by clicking `Answer`. |
|
|
122
|
+
| **subscribe(onAccept, onReject)** | Listens for native button presses `(Answer/End)`. |
|
|
122
123
|
---
|
|
123
124
|
|
|
124
125
|
## 🛡 License
|