Log File Access tutorial
Important
Functionality described in this article is currently in public preview. This preview version is provided without a service-level agreement, and we don't recommend it for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.
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.
You may also like
Tutorials
Concept Docs
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for