# ResendManager

public class ResendManager

用于管理重新发送

## Types

AddResendMessageCallBack
Link copied to clipboard
public interface AddResendMessageCallBack

## Functions

addResendMessage
Link copied to clipboard
public void addResendMessage(Message message, ErrorCode errorCode, ResendManager.AddResendMessageCallBack callBack)
beginResend
Link copied to clipboard
public void beginResend()
getInstance
Link copied to clipboard
public static ResendManager getInstance()
isResendErrorCode
Link copied to clipboard
public boolean isResendErrorCode(ErrorCode errorCode)
是否为需要重发处理的错误码
needResend
Link copied to clipboard
public boolean needResend(int messageId)
removeAllResendMessage
Link copied to clipboard
public void removeAllResendMessage()
removeResendMessage
Link copied to clipboard
public void removeResendMessage(int messageId)
removeResendMessages
Link copied to clipboard
public void removeResendMessages(Array<int> messageIds)