Package io.rong.imlib

## Class IRongCallback.ISendMediaMessageCallbackWithUploader

- All Implemented Interfaces:

      public abstract class IRongCallback.ISendMediaMessageCallbackWithUploader

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IRongCallback.ISendMediaMessageCallbackWithUploader()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onAttached(Message message, IRongCallback.MediaMessageUploader uploader)` | 消息已存储数据库。
    `abstract void` | `onError(Message message, RongIMClient.ErrorCode errorCode)` | 消息发送失败。
    `void` | `onAttached(Message message, MediaMessageUploader uploader)` |
    `void` | `onError(Message message, CoreErrorCode coreErrorCode)` |

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

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

- - ### Constructor Detail

    - #### IRongCallback.ISendMediaMessageCallbackWithUploader

          IRongCallback.ISendMediaMessageCallbackWithUploader()

  - ### Method Detail

    - #### onAttached

           abstract void onAttached(Message message, IRongCallback.MediaMessageUploader uploader)

      消息已存储数据库。

      Parameters:
        `message` - 已存库的消息体。

    - #### onError

           abstract void onError(Message message, RongIMClient.ErrorCode errorCode)

      消息发送失败。

      Parameters:
        `message` - 发送失败的消息体。
        `errorCode` - 具体的失败 error code。

    - #### onAttached

           void onAttached(Message message, MediaMessageUploader uploader)

    - #### onError

           void onError(Message message, CoreErrorCode coreErrorCode)