# SendMessageCallback

public abstract class SendMessageCallback extends RongIMClient.ResultCallback<T>

发送消息的回调。

#### Inheritors

SendImageMessageCallback

## Constructors

RongIMClient.SendMessageCallback
Link copied to clipboard
public void RongIMClient.SendMessageCallback()

## Functions

onError
Link copied to clipboard
public final void onError(RongIMClient.ErrorCode e)
错误时回调。
public abstract void onError(Integer messageId, RongIMClient.ErrorCode e)
onFail
Link copied to clipboard
public final void onFail(int errorCode)
public final void onFail(RongIMClient.ErrorCode errorCode)
public final void onFail(Integer messageId, int errorCode)
public final void onFail(Integer messageId, RongIMClient.ErrorCode errorCode)

## Inherited functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onSuccess
Link copied to clipboard
public abstract void onSuccess(T t)
成功时回调。