Package io.rong.imlib

## Interface IRongCallback.ISendMessageCallback

- All Implemented Interfaces:

      public interface IRongCallback.ISendMessageCallback

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

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

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onAttached

           abstract void onAttached(Message message)

      消息已存储数据库。

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

    - #### onSuccess

           abstract void onSuccess(Message message)

      消息发送成功。

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

    - #### onError

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

      消息发送失败。

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