# SendMediaMessageCallback

public abstract class SendMediaMessageCallback extends RongIMClient.SendImageMessageCallback

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

## Constructors

RongIMClient.SendMediaMessageCallback
Link copied to clipboard
public void RongIMClient.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, RongIMClient.ErrorCode code)
消息发送失败。
public void onError(Integer messageId, RongIMClient.ErrorCode e)
public final void onError(RongIMClient.ErrorCode e)
错误时回调。
onFail
Link copied to clipboard
public void onFail(int errorCode)
public void onFail(RongIMClient.ErrorCode errorCode)
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)
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)
消息发送成功。