Comparteix a través de


Tutorial de acceso a archivos de registro

En este tutorial, aprenderá a acceder a los archivos de registro almacenados en el dispositivo con el SDK de llamadas.

Requisitos previos

  • Acceso a una CallClient instancia
// 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);
}

Pasos siguientes

Consulte el documento de compatibilidad de integración para obtener más información sobre cómo estructurar un flujo de soporte técnico de un extremo a otro. Este documento le ayuda a dirigirle a las herramientas disponibles para crear un flujo de soporte técnico eficaz en las aplicaciones.

También le puede interesar

Tutoriales

Documentos de concepto