# SendImageMessageWithUploadListenerCallback

public abstract class SendImageMessageWithUploadListenerCallback

发送图片消息回调。

如果需要将图片上传到自己服务器，请使用这个回调。

## Constructors

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

## Functions

onAttached
Link copied to clipboard
public void onAttached(Message message, UploadImageStatusListener watcher)
public abstract void onAttached(Message message, RongIMClient.UploadImageStatusListener watcher)
消息已保存数据库。
onError
Link copied to clipboard
public void onError(Message message, CoreErrorCode code)
public abstract void onError(Message message, RongIMClient.ErrorCode code)
消息发送失败。