# SendMediaMessageCallback

public abstract class SendMediaMessageCallback extends IRongCoreCallback.SendImageMessageCallback

发送多媒体类消息的回调。

## Constructors

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

## Inherited functions

onAttached
Link copied to clipboard
public abstract void onAttached(Message message)
消息已保存数据库。
onCallback
Link copied to clipboard
public void onCallback(T t)
onError
Link copied to clipboard
public abstract void onError(Message message, IRongCoreEnum.CoreErrorCode code)
消息发送失败。
public void onError(Integer messageId, IRongCoreEnum.CoreErrorCode e)
public final void onError(IRongCoreEnum.CoreErrorCode e)
错误时回调。
onFail
Link copied to clipboard
public void onFail(IRongCoreEnum.CoreErrorCode coreErrorCode)
public void onFail(int errorCode)
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)
onProgress
Link copied to clipboard
public abstract void onProgress(Message message, int progress)
消息发送进度。
onSuccess
Link copied to clipboard
public abstract void onSuccess(T t)
public void onSuccess(Integer integer)
成功时回调。
public abstract void onSuccess(Message message)
消息发送成功。