Interface ChatClientDebugger
-
- All Implemented Interfaces:
public interface ChatClientDebuggerDebugs the io.getstream.chat.android.client.ChatClient.
-
-
Method Summary
Modifier and Type Method Description UnitonNonFatalErrorOccurred(String tag, String src, String desc, Error error)Called when a non-fatal error occurs. SendMessageDebuggerdebugSendMessage(String channelType, String channelId, Message message, Boolean isRetrying)Creates an instance of SendMessageDebugger that allows you to debug the sending process of a message. -
-
Method Detail
-
onNonFatalErrorOccurred
Unit onNonFatalErrorOccurred(String tag, String src, String desc, Error error)
Called when a non-fatal error occurs.
- Parameters:
tag- The location where the error occurred.src- The source of the error.desc- The description of the error.error- The error that occurred.
-
debugSendMessage
SendMessageDebugger debugSendMessage(String channelType, String channelId, Message message, Boolean isRetrying)
Creates an instance of SendMessageDebugger that allows you to debug the sending process of a message.
- Parameters:
channelType- The channel type.channelId- The channel id.message- Message objectisRetrying- True if this message is being retried.- Returns:
Your custom SendMessageDebugger implementation.
-
-
-
-