Call Log Details
is a Component that displays all the information related to a call. This component displays information like user/group information, participants of the call, recordings of the call (if available) & history of all the previous calls. Also, it has buttons to start a new call.
CometChatCallLogDetails
is a ViewController, it can be seamlessly presented within your application. To display the details of a CallLog, you simply need to pass the corresponding CallLog object to the CometChatCallLogDetails instance using its setCallLog property. This enables you to efficiently showcase specific call log details within your application’s interface.
onCallHistoryClicked
action is typically triggered when a user interacts with the call history section within the call log, executing a predefined action. However, by implementing the provided code snippet, you can effortlessly customize or override this default behavior to meet your specific requirements.
onCallRecordingsClicked
action is typically triggered when a user interacts with the recordings section within the call log, executing a predefined action. However, by implementing the provided code snippet, you can effortlessly customize or override this default behavior to meet your specific requirements.
onCallParticipantsClicked
action is typically triggered when a user interacts with the participants section within the call log, executing a predefined action. However, by implementing the provided code snippet, you can effortlessly customize or override this default behavior to meet your specific requirements.
Call Log Details
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 Details
component does not have any exposed events.
callLogDetails
Component by applying the callLogDetailsStyle
to it using the following code snippet.
Property | Description | Code |
---|---|---|
background | Sets the background color | .set(background: UIColor) |
borderWidth | Sets the border width | .set(borderWidth: CGFloat) |
borderColor | Sets the border color | .set(borderColor: UIColor) |
nameTextFont | Sets the name text font | .set(nameTextFont: UIFont) |
nameTextColor | Sets the name text color | .set(nameTextColor: UIColor) |
detailsSectionBackgroundColor | Sets the details section background color | .set(detailsSectionBackgroundColor: UIColor) |
dateTextFont | Sets the font for date text | .set(dateTextFont: UIFont) |
dateTextColor | Sets the text color for date | .set(dateTextColor: UIColor) |
timeTextColor | Sets the color for the time text | .set(timeTextColor: UIColor) |
timeTextFont | Sets the font for the time text | .set(timeTextFont: UIFont) |
durationTextFont | Sets the font for the duration text | .set(durationTextFont: UIFont) |
durationTextColor | Sets the color for the duration text | .set(durationTextColor: UIColor) |
callStatusTextFont | Sets the font for the call status text | .set(callStatusTextFont: UIFont) |
callStatusTextColor | Sets the color for the call status text | .set(callStatusTextColor: UIColor) |
arrowIconTint | Sets the tint color for the arrow icon | .set(arrowIconTint: UIColor) |
corner radius | Sets the corner radius | .set(cornerRadius: CometChatCornerStyle) |
Avatar
component in the callLogDetails
Component, you can use the following code snippet. For further insights on Avatar
Styles refer
CallLogDetails
Component by applying the ButtonStyle to it using the following code snippet.
CometChatCallLogDetails
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller.Property | Description | Code |
---|---|---|
titleFont | Sets the font for the title | .set(titleFont: UIFont) |
titleColor | Sets the color for the title | .set(titleColor: UIColor) |
title | Sets the title for the title bar | .set(title: String, mode: UINavigationItem.LargeTitleDisplayMode) |
largeTitleFont | Sets the large title font | .set(largeTitleFont: UIFont) |
backButtonTitle | Sets the back button title | .set(backButtonTitle: String?) |
largeTitleColor | Sets the large title color | .set(largeTitleColor: UIColor) |
backButtonTitleColor | Sets the back button title color | .set(backButtonTitleColor: UIColor) |
hide(search) | Hides the search bar | .hide(search: Bool) |
hide(separator) | Hides the separator | .hide(separator: Bool) |
hide(errorText) | Hides the error text | .hide(errorText: Bool) |
callLog | Sets the call log | .set(callLog: Any?) |
backButtonFont | Sets the back button font | .set(backButtonFont: UIFont?) |
backButtonIcon | Sets the back button icon | .set(backButtonIcon: UIImage) |
backButtonTint | Sets the back button tint | .set(backButtonTint: UIColor) |
background | Sets the background | .set(background: [CGColor]?) |
borderColor | Sets the border color | .set(borderColor: UIColor) |
borderWidth | Sets the border width | .set(borderWidth: CGFloat) |
corner | Sets the corner style | .set(corner: CometChatCornerStyle) |
emptyStateText | Sets the empty state text | .set(emptyStateText: String) |
emptyStateTextColor | Sets the empty state text color | .set(emptyStateTextColor: UIColor) |
emptyStateTextFont | Sets the empty state text font | .set(emptyStateTextFont: UIFont) |
errorStateText | Sets the error state text | .set(errorStateText: String) |
errorStateTextColor | Sets the error state text color | .set(errorStateTextColor: UIColor) |
errorStateTextFont | Sets the error state text font | .set(errorStateTextFont: UIFont) |
searchBackground | Sets the search background | .set(searchBackground: UIColor) |
searchIcon | Sets the search icon | .set(searchIcon: UIImage?) |
searchPlaceholder | Sets the search placeholder | .set(searchPlaceholder: String) |
searchIconTint | Sets the search icon tint | .set(searchIconTint: UIColor) |
searchTextFont | Sets the search text font | .set(searchTextFont: UIFont) |
searchBarHeight | Sets the search bar height | .set(searchBarHeight: CGFloat) |
searchClearIcon | Sets the search clear icon | .set(searchClearIcon: UIImage) |
searchTextColor | Sets the search text color | .set(searchTextColor: UIColor) |
searchBorderColor | Sets the search border color | .set(searchBorderColor: UIColor) |
searchBorderWidth | Sets the search border width | .set(searchBorderWidth: CGFloat) |
searchCornerRadius | Sets the search corner radius | .set(searchCornerRadius: CometChatCornerStyle) |
searchClearIconTint | Sets the search clear icon tint | .set(searchClearIconTint: UIColor) |
searchPlaceholderColor | Sets the search placeholder color | .set(searchPlaceholderColor: UIColor) |
searchCancelButtonFont | Sets the search cancel button font | .set(searchCancelButtonFont: UIFont) |
searchCancelButtonTint | Sets the search cancel button tint | .set(searchCancelButtonTint: UIColor) |
.set(emptyView: UIView)
to match the empty view of your app.
Custom_Empty_State_GroupView
a UIView file.
CometChatCallLogDetails
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller..set(errorView: UIView)
to match the error view of your app.
Custom_ErrorState_GroupView
and pass it inside the .set(errorView: UIView)
method.
CometChatCallLogDetails
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller.callLogDetails
, enhancing its interface with a personalized menu
for a more user-friendly experience.
CometChatCallLogDetails
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller.CometChatCallLogDetails
by incorporating a unique feature. By implementing a custom option, labeled “Custom Option,” users can access additional functionalities tailored to their needs. Additionally, a custom template, named “Custom Template,” enhances the visual presentation of call log details.
This customization allows for a more engaging and user-friendly experience within the application.
CometChatCallLogDetails
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller.