Dela via


Självstudie om loggfilåtkomst

I den här självstudien lär du dig att komma åt loggfilerna som lagras på enheten med anropande SDK.

Förutsättningar

  • Åtkomst till en CallClient instans
// 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);
}

Nästa steg

Mer detaljerad information om hur du strukturerar ett supportflöde från slutpunkt till slutpunkt finns i dokumentet om integrering av support. Det här dokumentet hjälper dig att dirigera dig till de verktyg som är tillgängliga för dig för att skapa ett effektivt supportflöde i dina program.

Du kan också gilla

Självstudier

Konceptdokument