Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • R REVECallSDKSample
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sdk
  • REVECallSDKSample
  • Wiki
  • Home

Home · Changes

Page history
Update home authored Feb 08, 2022 by Sourav Das's avatar Sourav Das
Hide whitespace changes
Inline Side-by-side
Showing with 16 additions and 4 deletions
+16 -4
  • home.md home.md +16 -4
  • No files found.
home.md
View page @ acf19c46
......@@ -89,7 +89,19 @@ If all the configuration is ok, this function will start the core components of
**Step 5. Permission:** Make sure to ask for permissions for Audio record and Make Calls in your app. Otherwise the sdk wont work.
**Step 6. Call Handling:** The aforementioned `SIPWrapper.startSIP(Context,AppConfig)` function will initialize **CallHandler**, a class for all types of call related activites. You can now make a call by simply using `CallHandler.makeCall(number:String)`
**Step 6. Call Handling:** The aforementioned `SIPWrapper.startSIP(Context,AppConfig)`
>In kotlin
```kotlin
ReveSdkSIPWrapper.startSIP(context,appConfig);
```
>In Java
```java
ReveSdkSIPWrapper.Companion.startSIP(context,appConfig);
```
function will initialize **ReveSdkCallHandler**, a class for all types of call related activites. You can now make a call by simply using `ReveSdkCallHandler.makeCall(number:String)`
Start Call using:
......@@ -109,7 +121,7 @@ if (SIPProvider.callState == CallState.READY){
```
function and end call by using`CallHandler.endCall()` function.
function and end call by using`ReveSdkCallHandler.endCall()` function.
>In kotlin
```kotlin
......@@ -127,7 +139,7 @@ if (SIPProvider.callState == CallState.READY){
```
You can receive Peer to Peer calls by using `CallHandler.acceptCall(callid:String)`.
>In Kotlin
```kotlin
if (SIPProvider.callState == CallState.READY){
ReveSdkCallHandler.acceptCall(callid)
......@@ -141,7 +153,7 @@ if (SIPProvider.callState == CallState.READY){
ReveSdkCallHandler.Companion.acceptCall(callid);
}
```
You can get the callid of an incoming call from Listeners. Check out how to [Implement Listeners](Configuring-Listeners).
You can get the callid of an incoming call from Listeners. Check out how to [Implement Listeners]().
Check out the **[Call Handling guide](Call-Handling)** for details on Handling of calls using this SDK and UI integration with Native App.
......
Clone repository
  • Call Handling
  • Configuring Listeners
  • Demo App Details
  • Get Api Key
  • Other Important Topics
  • Home