public class ResendManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ResendManager.AddResendMessageCallBack |
Modifier and Type | Method and Description |
---|---|
void |
addResendMessage(Message message,
RongIMClient.ErrorCode errorCode,
ResendManager.AddResendMessageCallBack callBack) |
void |
beginResend() |
static ResendManager |
getInstance() |
boolean |
isResendErrorCode(RongIMClient.ErrorCode errorCode)
是否为需要重发处理的错误码
|
boolean |
needResend(int messageId) |
void |
removeAllResendMessage() |
void |
removeResendMessage(int messageId) |
public static ResendManager getInstance()
public void addResendMessage(Message message, RongIMClient.ErrorCode errorCode, ResendManager.AddResendMessageCallBack callBack)
public void removeResendMessage(int messageId)
public void removeAllResendMessage()
public boolean needResend(int messageId)
public void beginResend()
public boolean isResendErrorCode(RongIMClient.ErrorCode errorCode)
errorCode
- 发送消息的失败错误码