Kurz k přístupu k souborům protokolu
V tomto kurzu se dozvíte, jak získat přístup k souborům protokolu uloženým v zařízení pomocí sady SDK pro volání.
Požadavky
- Přístup k
CallClient
instanci
// Call when a support request is being called
private void onSupportRequest(String userMessage) {
// Assuming the getSupportFiles method returns a List or similar collection.
List<SupportFile> supportFiles = callClient.getdebugInfo().getSupportFiles();
// Send the files and any user message to your Ticket System
dispatchSupportRequestToBackend(userMessage, supportFiles);
}
// Call when a support request is being called
private func onSupportRequest(userMessage: String) {
// Assuming the getSupportFiles method returns an array or similar collection.
let supportFiles = callClient.debugInfo.getSupportFiles()
// Send the files and any user message to your Ticket System
dispatchSupportRequestToBackend(userMessage: userMessage, supportFiles: supportFiles)
}
// Call when a support request is being called
private void OnSupportRequest(string userMessage)
{
// Assuming the GetSupportFiles method returns a List or similar collection.
IReadOnlyList<SupportFile> supportFiles = callClient.DebugDetails.SupportFiles;
// Send the files and any user message to your Ticket System
DispatchSupportRequestToBackend(userMessage, supportFiles);
}
Další kroky
Podrobnější informace o strukturování koncového toku podpory najdete v dokumentu o integraci podpory. Tento dokument vám pomůže nasměrovat nástroje, které jsou vám k dispozici, a vytvořit tak efektivní tok podpory ve vašich aplikacích.