Package io.rong.imlib

## Class IRongCoreCallback.SendImageMessageCallback

- All Implemented Interfaces:

      public abstract class IRongCoreCallback.SendImageMessageCallback
      extends IRongCoreCallback.SendMessageCallback

  发送图片消息的回调。

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IRongCoreCallback.SendImageMessageCallback()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onAttached(Message message)` | 消息已保存数据库。
    `abstract void` | `onError(Message message, IRongCoreEnum.CoreErrorCode code)` | 消息发送失败。
    `abstract void` | `onSuccess(Message message)` | 消息发送成功。
    `abstract void` | `onProgress(Message message, int progress)` | 消息发送进度。
    `void` | `onSuccess(Integer integer)` | 成功时回调。
    `void` | `onError(Integer messageId, IRongCoreEnum.CoreErrorCode e)` |

    - ### Methods inherited from class io.rong.imlib.IRongCoreCallback.SendMessageCallback

      `onError, onFail, onFail, onFail, onFail`

    - ### Methods inherited from class io.rong.imlib.IRongCoreCallback.ResultCallback

      `onCallback, onFail, onFail`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IRongCoreCallback.SendImageMessageCallback

          IRongCoreCallback.SendImageMessageCallback()

  - ### Method Detail

    - #### onAttached

           abstract void onAttached(Message message)

      消息已保存数据库。

      Parameters:
        `message` - 保存后的消息实体。

    - #### onError

           abstract void onError(Message message, IRongCoreEnum.CoreErrorCode code)

      消息发送失败。

      Parameters:
        `message` - 发送失败的消息实体。
        `code` - 失败错误码。

    - #### onSuccess

           abstract void onSuccess(Message message)

      消息发送成功。

      Parameters:
        `message` - 发送成功的消息实体。

    - #### onProgress

           abstract void onProgress(Message message, int progress)

      消息发送进度。

      Parameters:
        `message` - 发送的消息实体。
        `progress` - 消息发送进度 0 - 100。

    - #### onSuccess

           void onSuccess(Integer integer)

      成功时回调。

    - #### onError

           void onError(Integer messageId, IRongCoreEnum.CoreErrorCode e)