CometChatCallLogRecordings
is a Component that shows a paginated list of recordings of a particular call. This allows the user to see all the recordings along with the duration as well as a download link using which one can download the recording.
Call Log Recordings
is comprised of the following components:
Components | Description |
---|---|
CometChatList | a reusable container component having title, search box, customisable background and a List View |
CometChatListItem | a component that renders data obtained from a Group object on a Tile having a title, subtitle, leading and trailing view |
cometchat-date | This Component used to show the date and time. You can also customize the appearance of this widget by modifying its logic. |
cometchat-button | This component represents a button with optional icon and text. |
onBackClick
is triggered when you click the Back button Icon of the Call Log Participants
component. It does not have a default behavior. However, you can override its behavior using the following code snippet.
onDownloadClick
is triggered when you click on the download of the of the Call Log Recordings
component. you can override its behavior 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.
The Call Log Recordings
component does not have any exposed filters.
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 Call Log Recordings
does not produce any events.
CallLogRecordings
component. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.
CallLogRecordingsStyle
object to the Call Log Recordings
component.
Example
In this example, we are employing the CallLogRecordingsStyle
.
CallLogRecordingsStyle
:
Property | Description | Code |
---|---|---|
border | Used to set border | border?: string, |
borderRadius | Used to set border radius | borderRadius?: string; |
background | Used to set background colour | background?: string; |
height | Used to set height | height?: string; |
width | Used to set width | width?: string; |
titleFont | Used to set title font | titleFont?: string, |
titleColor | Used to set title color | titleColor?: string; |
backIconTint | Used to set back icon tint | backIconTint?: string; |
downloadIconTint | Used to set download icon tint | downloadIconTint?: string; |
recordingDurationFont | Used to set recording duration font | recordingDurationFont?: string; |
recordingDurationColor | Used to set recording duration color | recordingDurationColor?: string; |
dateTextFont | Used to set date text font | dateTextFont?: string; |
dateTextColor | Used to set date text color | dateTextColor?: string; |
List Item
component within the Call Log Recordings
Component, you can use the following code snippet. For more information, you can refer ListItem Styles.
Call Log Recordings
component.
Property | Description | Code |
---|---|---|
title | Used to set custom title | [title]="'Your Custom Title'" |
backIconUrl | Used to set custom back icon URL | [backIconUrl]="'custom back icon url'" |
downloadIconUrl | Used to set custom download icon URL | [downloadIconUrl]="'custom download icon url'" |
datePattern | Used to set custom date pattern | [datePattern]="datePattern" |
call | Call data object | call: CallLog; |
hideDownloadButton | used to control the visibility of the download button in the user interface. | [hideDownloadButton]="true" |
Call Log Recordings
Component.
Example
Default: