# SendMessageCallback

public abstract class SendMessageCallback extends IRongCoreCallback.ResultCallback<T>

发送消息的回调。

#### Inheritors

SendImageMessageCallback

## Constructors

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

## Functions

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

## Inherited functions

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