Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Warning
Azure Communication Services wprowadza nowatorskie zmiany, a niektóre usługi są wycofywane. Dowiedz się więcej w przewodniku po zmianach emerytalnych i przełamowych.
Z tego samouczka dowiesz się, jak uzyskać dostęp do plików dziennika przechowywanych na urządzeniu za pomocą zestawu SDK wywołującego.
Wymagania wstępne
- Dostęp do instancji
CallClient
// Call when a support request is being called
private void onSupportRequest(String userMessage) {
// Assuming the getSupportFiles method returns a List or similar collection.
List<File> 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<string> supportFiles = callClient.DebugDetails.SupportFiles;
// Send the files and any user message to your Ticket System
DispatchSupportRequestToBackend(userMessage, supportFiles);
}
Następne kroki
Zapoznaj się z dokumentem integrowania pomocy technicznej, aby uzyskać bardziej szczegółowe informacje na temat sposobu tworzenia struktury kompleksowego przepływu pomocy technicznej. Ten dokument ułatwia przekierowanie do dostępnych narzędzi w celu utworzenia efektywnego przepływu pomocy technicznej w aplikacjach.