Package io.rong.imlib

## Interface IRongCoreCallback.OperationCallbackEx

- All Implemented Interfaces:

      public interface IRongCoreCallback.OperationCallbackEx<T>

- - ### 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` | `onSuccess()` | 当成功时被调用。
    `abstract void` | `onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)` | 当失败时被调用。
    `void` | `onCallback()` |
    `void` | `onFail(int code, T errorData)` |
    `void` | `onFail(IRongCoreEnum.CoreErrorCode code, T errorData)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onSuccess

           abstract void onSuccess()

      当成功时被调用。

    - #### onError

           abstract void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)

      当失败时被调用。

      Parameters:
        `errorCode` - 错误码，用于失败的原因。
        `errorData` - 与错误代码相关联的额外信息，其类型由接口的泛型参数指定。

    - #### onCallback

           void onCallback()

    - #### onFail

           void onFail(int code, T errorData)

    - #### onFail

           void onFail(IRongCoreEnum.CoreErrorCode code, T errorData)