Package io.rong.imlib

## Class RongIMClient.SendMessageCallback

- All Implemented Interfaces:

      public abstract class RongIMClient.SendMessageCallback
      extends RongIMClient.ResultCallback<T>

  发送消息的回调。

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RongIMClient.SendMessageCallback()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final void` | `onError(RongIMClient.ErrorCode e)` | 错误时回调。
    `final void` | `onFail(int errorCode)` |
    `final void` | `onFail(RongIMClient.ErrorCode errorCode)` |
    `abstract void` | `onError(Integer messageId, RongIMClient.ErrorCode e)` |
    `final void` | `onFail(Integer messageId, int errorCode)` |
    `final void` | `onFail(Integer messageId, RongIMClient.ErrorCode errorCode)` |

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

      `onCallback, onSuccess`

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

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

- - ### Constructor Detail

    - #### RongIMClient.SendMessageCallback

          RongIMClient.SendMessageCallback()

  - ### Method Detail

    - #### onError

           final void onError(RongIMClient.ErrorCode e)

      错误时回调。

      Parameters:
        `e` - 错误代码。

    - #### onFail

           final void onFail(int errorCode)

    - #### onFail

           final void onFail(RongIMClient.ErrorCode errorCode)

    - #### onError

           abstract void onError(Integer messageId, RongIMClient.ErrorCode e)

    - #### onFail

           final void onFail(Integer messageId, int errorCode)

    - #### onFail

           final void onFail(Integer messageId, RongIMClient.ErrorCode errorCode)