Call Features
Audio Mute/Unmute#
Pass the boolean value true for mute & false for unmute into muteAudio method.
Request Params#
| Param | Description | Type | Required |
|---|---|---|---|
BOOLEAN | true - Mute the audio false - Unmute the audio | BOOLEAN | true |
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Video Mute/Unmute#
Pass the boolean value true for mute & false for unmute into muteVideo method.
Request Params#
| Param | Description | Type | Required |
|---|---|---|---|
BOOLEAN | true - Mute the video false - Unmute the video | BOOLEAN | true |
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Video Call Switch#
To initiate the video call switch process, a callSwitchListener callback should already be registered in the client app to receive the request, accept, decline & cancel status information. Because whenever user perform any action related to this call switch, Client app will receive the user action status in this callback.
Request the Call Switch#
To send the call switch request, call the requestVideoCallSwitch method.
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Cancel the request#
To cancel the call switch request which is already sent to the remote user, call the cancelVideoCallSwitchRequest method.
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Accept the request#
To accept the call switch request, call the acceptVideoCallSwitchRequest method.
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Decline the request#
To decline the call switch request, call the declineVideoCallSwitchRequest method.
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Call Logs#
SDK keeps a local db for storing call logs which includes all types of call logs with required information for the each and every call log.
Get Call Logs Details#
You can able to retrieve the calllogs by using the below SDK method.
Request Params#
| Arguments | Description | Type |
|---|---|---|
| pageNumber | Page number | Number |
Response Format#
Response Params#
| Arguments | Description | Type |
|---|---|---|
| data | Object of Array | Object |
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Delete call logs#
To delete a single or multiple calllogs by using the below SDK method.
Response Format#
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
note
userCallLogListener check here for more information.
Clear call logs#
To clear all the calllogs by using the below SDK method.
Response Format#
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |
Sync all call logs#
This method will fetch the CallLogs from localDB and update to the server.
Response Format#
Response Params#
| Arguments | Description | Type |
|---|---|---|
| statusCode | Status Code | Number |
| message | Success/Error Message | String |