Package io.rong.imlib

Class RongIMClient.ResultCallback

  • All Implemented Interfaces:

    
    public abstract class RongIMClient.ResultCallback<T>
    
                        

    A generic class for handling callback functionality in APIs.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(T t) Callback triggered on success.
      abstract void onError(RongIMClient.ErrorCode e) Callback triggered on error.
      void onFail(int errorCode)
      void onFail(RongIMClient.ErrorCode errorCode)
      void onCallback(T t)
      • Methods inherited from class java.lang.Object

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