CallLogRequestBuilder
, This builder allows you to customize the call logs fetching process according to your needs.
CallLogRequestBuilder
has the following settings available.
Setting | Description |
---|---|
set(limit: Int) | Specifies the number of call logs to fetch. |
set(callType: CallType) | Sets the type of calls to fetch (call or meet). |
set(callStatus: CallStatus) | Sets the status of calls to fetch (initiated, ongoing, etc.) |
setg(hasRecording: HasRecording) | Sets whether to fetch calls that have recordings. |
set(callCategory: CallCategory) | Sets the category of calls to fetch (call or meet). |
set(callDirection: CallDirection) | Sets the direction of calls to fetch (incoming or outgoing) |
set(uid: String) | Sets the UID of the user whose call logs to fetch. |
set(guid: String) | Sets the GUID of the user whose call logs to fetch. |
set(authToken: String) | 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 success and error callback. 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.