... | @@ -84,12 +84,12 @@ Follow the [Instructions](Get-Api-Key) to get your own API Key. |
... | @@ -84,12 +84,12 @@ Follow the [Instructions](Get-Api-Key) to get your own API Key. |
|
UserInfo.setUsername("[Your User Id]")
|
|
UserInfo.setUsername("[Your User Id]")
|
|
UserInfo.setPassword("[Your Password]")
|
|
UserInfo.setPassword("[Your Password]")
|
|
```
|
|
```
|
|
**Step 4. Starting the Call Functionalities** At this stage The configuration of the App is complete. Now you can start to activate the functionalities of this sdk. You have to call the function `SIPWrapper.startSIP(context: Context, appConfig:AppConfig)`. This method starts the components that lets you start/receive and end calls. Here context is recommended to be the default applicationContext and the appConfig is what you created in **Step 2.**
|
|
**Step 4. Starting the Call Functionalities** At this stage The configuration of the App is complete. Now you can start to activate the functionalities of this sdk. You have to call the function `ReveSdkSIPWrapper.startSIP(context: Context, appConfig:AppConfig)`. This method starts the components that lets you start/receive and end calls. Here context is recommended to be the default applicationContext and the appConfig is what you created in **Step 2.**
|
|
If all the configuration is ok, this function will start the core components of this sdk. You have to make sure that you are using the exact configuration provided by Reve Systems. You can call this method inside an activity or a service.
|
|
If all the configuration is ok, this function will start the core components of this sdk. You have to make sure that you are using the exact configuration provided by Reve Systems. You can call this method inside an activity or a service.
|
|
|
|
|
|
**Step 5. Permission:** Make sure to ask for permissions for Audio record and Make Calls in your app. Otherwise the sdk wont work.
|
|
**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)`
|
|
**Step 6. Call Handling:** The aforementioned `ReveSdkSIPWrapper.startSIP(Context,AppConfig)`
|
|
>In kotlin
|
|
>In kotlin
|
|
```kotlin
|
|
```kotlin
|
|
ReveSdkSIPWrapper.startSIP(context,appConfig);
|
|
ReveSdkSIPWrapper.startSIP(context,appConfig);
|
... | | ... | |