CometChatCallLogs
is a Component that shows the list of Call Logs available. By default, names are shown for all listed users, along with their avatars if available.
CometChatCallLogs
being a wrapper component, offers versatility in its integration. It can be seamlessly launched via button clicks or any user-triggered action, enhancing the overall user experience and facilitating smoother interactions within the application.
onItemPress
is triggered when you click on a ListItem of the Call Logs component. By default it initiate a call to the participant associated with the respective ListItem. You can override this action using the following code snippet.
onBack
is triggered when you press the back button in the app bar. You can override this action using the following code snippet.
Component
. You can filter the list based on your specific criteria, allowing for a more customized. Filters can be applied using RequestBuilders
of Chat SDK.
Methods | Type | Description |
---|---|---|
setLimit | number | Specifies the number of call logs to fetch. |
setCallType | String | Sets the type of calls to fetch (call or meet). |
setCallStatus | callStatus | Sets the status of calls to fetch (initiated, ongoing, etc.) |
setHasRecording | boolean | Sets whether to fetch calls that have recordings. |
setCallCategory | string | Sets the category of calls to fetch (call or meet). |
setCallDirection | string | Sets the direction of calls to fetch (incoming or outgoing) |
setUid | string | Sets the UID of the user whose call logs to fetch. |
setGuid | string | Sets the GUID of the user whose call logs to fetch. |
setAuthToken | string | Sets the Auth token of the logged-in user. |
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The CometChatCallLogs
component does not have any exposed events.
Property | Description | Code |
---|---|---|
datePattern | Used to set custom date pattern | datePattern?: DatePattern |
hideBackButton | Used to show/hide the back button | hideBackButton?: boolean |
hideError | Used to hide errors | hideError?: boolean |
outgoingCallConfiguration | Sets the configurations for outgoing call component. | outgoingCallConfiguration={outgoingCallConfigurationObject} |
hideHeader | Used to toggle visibility of header | hideHeader={true} |
hideLoadingState | Used to toggle visibility of Loading state | hideLoadingState={true} |
AppBarOptions
to the CometChatConversations
widget.
Use Cases: