# SendImageMessageCallback

public abstract class SendImageMessageCallback extends RongIMClient.SendMessageCallback

发送图片消息的回调。

#### Inheritors

SendMediaMessageCallback

## Constructors

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

## Functions

onAttached
Link copied to clipboard
public abstract void onAttached(Message message)
消息已保存数据库。
onError
Link copied to clipboard
public abstract void onError(Message message, RongIMClient.ErrorCode code)
消息发送失败。
public void onError(Integer messageId, RongIMClient.ErrorCode e)
onProgress
Link copied to clipboard
public abstract void onProgress(Message message, int progress)
消息发送进度。
onSuccess
Link copied to clipboard
public abstract void onSuccess(Message message)
消息发送成功。
public void onSuccess(Integer integer)
成功时回调。

## Inherited functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onError
Link copied to clipboard
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)