Package io.rong.imlib

## Class IRongCoreCallback.ResultCallback

- All Implemented Interfaces:

      public abstract class IRongCoreCallback.ResultCallback<T>

  泛型类，用于 API 中功能的回调处理。

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public class` | `IRongCoreCallback.ResultCallback.Result` |

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IRongCoreCallback.ResultCallback()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onSuccess(T t)` | 成功时回调。
    `abstract void` | `onError(IRongCoreEnum.CoreErrorCode e)` | 错误时回调。
    `void` | `onFail(int errorCode)` |
    `void` | `onFail(IRongCoreEnum.CoreErrorCode coreErrorCode)` |
    `void` | `onCallback(T t)` |

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

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

- - ### Constructor Detail

    - #### IRongCoreCallback.ResultCallback

          IRongCoreCallback.ResultCallback()

  - ### Method Detail

    - #### onSuccess

           abstract void onSuccess(T t)

      成功时回调。

      Parameters:
        `t` - 已声明的类型。

    - #### onError

           abstract void onError(IRongCoreEnum.CoreErrorCode e)

      错误时回调。

      Parameters:
        `e` - 错误代码。

    - #### onFail

           void onFail(int errorCode)

    - #### onFail

           void onFail(IRongCoreEnum.CoreErrorCode coreErrorCode)

    - #### onCallback

           void onCallback(T t)