setLimit(int limit) | Specifies the number of call logs to fetch. |
setCallType(@CometChatCallsConstants.CallType String callType) | Sets the type of calls to fetch (audio or video). It accepts CallType Enum with following values CometChatCallsConstants.CallType.CALL_TYPE_VIDEO, CometChatCallsConstants.CallType.CALL_TYPE_AUDIO & CometChatCallsConstants.CallType.CALL_TYPE_AUDIO_VIDEO |
setCallStatus(@CometChatCallsConstants.CallStatus String callStatus) | Sets the status of calls to fetch (initiated, ongoing, etc.). It accepts CallStatus Enum with following values CometChatCallsConstants.CallStatus.CALL_STATUS_ONGOING, CometChatCallsConstants.CallStatus.CALL_STATUS_BUSY, CometChatCallsConstants.CallStatus.CALL_STATUS_REJECTED, CometChatCallsConstants.CallStatus.CALL_STATUS_CANCELLED, CometChatCallsConstants.CallStatus.CALL_STATUS_ENDED, CometChatCallsConstants.CallStatus.CALL_STATUS_MISSED, CometChatCallsConstants.CallStatus.CALL_STATUS_INITIATED, CometChatCallsConstants.CallStatus.CALL_STATUS_UNANSWERED |
| setHasRecording(boolean hasRecording) | Sets whether to fetch calls that have recordings. |
| setCallCategory(@CometChatCallsConstants.CallLogCategory String callCategory) | Sets the category of calls to fetch (call or meet). It accepts CallLogCategory Enum with following values CometChatCallsConstants.CallLogCategory.CALL_CATEGORY_CALL & CometChatCallsConstants.CallLogCategory.CALL_CATEGORY_MEET |
| setCallDirection(@CometChatCallsConstants.CallDirection String callDirection) | Sets the direction of calls to fetch. It accepts CallDirection Enum with following values CometChatCallsConstants.CallDirection.CALL_DIRECTION_INCOMING & CometChatCallsConstants.CallDirection.CALL_DIRECTION_OUTGOING |
| setUid(String uid) | Sets the UID of the user whose call logs to fetch. |
| setGuid(String guid) | Sets the GUID of the user whose call logs to fetch. |
| setAuthToken(String authToken) | Sets the Auth token of the logged-in user. |