Package io.rong.imlib

Interface IRongCoreCallback.SubscribeEventCallback

    • 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 onError(int errorCode, T errorData)
      void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData) 当失败时被调用。
      • Methods inherited from class io.rong.imlib.IRongCoreCallback.OperationCallbackEx

        onCallback, onFail, onFail, onSuccess
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onError

        @Deprecated() abstract void onError(int errorCode, T errorData)
      • onError

         void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)

        当失败时被调用。

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