AI Agent Component Spec
AI Agent Component Spec
| Field | Value |
|---|---|
| Package | cometchat_chat_uikit |
| Key components | CometChatCallLogs, CometChatCallLogDetails |
| Init | CometChatUIKit.init(uiKitSettings) then CometChatUIKit.login(uid) |
| Entry point | Calls tab → CometChatCallLogs → tap item → CometChatCallLogDetails |
| Sample app | GitHub |
| Related | All Guides |
Components
| Component / Class | Role |
|---|---|
CometChatCallLogs | Displays the list of recent calls with tap callbacks |
CometChatCallLogDetails | Shows detailed information (participants, duration, type) |
CallLog | Call log data model from SDK |
Integration Steps
1. Add Calls Tab
Integrate the Calls tab into your main dashboard usingCometChatCallLogs.
File: dashboard.dart
2. Display Call Logs
UseCometChatCallLogs to fetch and show recent calls with customizable styling.
File: dashboard.dart
3. Show Call Log Details
Present detailed information when a call log is tapped. File: cometchat_call_log_details.dartFeature Matrix
| Feature | Component / Method | File |
|---|---|---|
| Calls tab | CometChatCallLogs | dashboard.dart |
| Display call logs | CometChatCallLogs | dashboard.dart |
| Call details | CometChatCallLogDetails | cometchat_call_log_details.dart |
Next Steps
Call Logs
Learn more about the Call Logs component.
Call Features
Explore all calling capabilities.
Call Buttons
Add call buttons to your chat interface.
All Guides
Browse all feature and formatter guides.