Log File Access tutorial
In this tutorial, you learn how to access the Log Files stored on the device with the Calling SDK.
Prerequisites
- Access to a
CallClient
instance
// 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);
}
Next steps
Refer to the integrating support document for more in depth look at how to structure an end to end support flow. This document helps direct you to the tools available to you in order to create an effective support flow in your Applications.