# SendImageMessageCallback

public abstract class SendImageMessageCallback extends IRongCoreCallback.SendMessageCallback

发送图片消息的回调。

#### Inheritors

SendMediaMessageCallback

## Constructors

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

## Functions

onAttached
Link copied to clipboard
public abstract void onAttached(Message message)
消息已保存数据库。
onError
Link copied to clipboard
public abstract void onError(Message message, IRongCoreEnum.CoreErrorCode code)
消息发送失败。
public void onError(Integer messageId, IRongCoreEnum.CoreErrorCode 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(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)