You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/ui-library-sdk/includes/troubleshooting/android.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,29 @@ Azure Communication UI [open source library](https://github.com/Azure/communicat
11
11
12
12
### Get debug information
13
13
14
-
When troubleshooting happens for voice or video calls, user may be asked to provide a CallID; this ID is used to identify Communication Services calls.
14
+
When troubleshooting happens for voice or video calls, user may be asked to provide a CallID; this ID is used to identify Communication Services calls. Every call may have multiple Call Ids
15
15
16
-
CallID can be retrieved from `CallComposite`:
16
+
Call ID can be retrieved from `CallComposite`:
17
17
18
18
#### [Kotlin](#tab/kotlin)
19
19
20
20
```kotlin
21
21
val callComposite:CallComposite=CallCompositeBuilder().build()
22
22
...
23
-
val debugInfo = callComposite.debugInfo
24
-
val lastCallId = debugInfo.lastCallId
23
+
val callHistoryRecords = callComposite.getDebugInfo(context).callHistoryRecords
24
+
val callHistoryRecord = callHistoryRecords.lastOrNull()
0 commit comments