Package io.rong.imlib

## Interface IRongCoreCallback.ISendMessageCallback

- All Implemented Interfaces:

      public interface IRongCoreCallback.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, IRongCoreEnum.CoreErrorCode coreErrorCode)` | 消息发送失败。

    - ### 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, IRongCoreEnum.CoreErrorCode coreErrorCode)

      消息发送失败。

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