CallLogRequestBuilder
, This builder allows you to customize the call logs fetching process according to your needs.
CallLogRequestBuilder
has the following settings available.
Setting | Description |
---|---|
int limit | Specifies the number of call logs to fetch. |
String callType | Sets the type of calls to fetch (audio or video). It accepts following String’s as a parameter "video" , "audio" & "audio/video" |
String callStatus | Sets the status of calls to fetch (initiated, ongoing, etc.). It accepts following String’s as a parameter "ongoing" , "busy" , "rejected" , "cancelled" , "ended" , "missed" , "initiated" , "unanswered" |
bool hasRecording | Sets whether to fetch calls that have recordings. |
String callCategory | Sets the category of calls to fetch (call or meet). It accepts following String’s as a parameter "call" & "meet" |
String callDirection | Sets the direction of calls to fetch. It accepts following String’s as a parameter "incoming" & "outgoing" |
String uid | Sets the UID of the user whose call logs to fetch. |
String guid | Sets the GUID of the user whose call logs to fetch. |
String authToken | Sets the Auth token of the logged-in user. |
fetchNext()
**method retrieves the next set of call logs.
fetchPrevious()
**method retrieves the previous set of call logs.
getCallDetails()
**method. This method requires the Auth token of the logged-in user and the session ID along with a callback listener. Upon success, this function will return a list of call details, as multiple calls can be initiated for one session ID.
"SESSION_ID"
**with the ID of the session you are interested in.