Interface OnDataChangeListener

  • All Implemented Interfaces:

    
    public interface OnDataChangeListener<T>
    
                        

    数据监听 Listener

    Since:

    5.12.0

    Author:

    rongcloud

    • 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 onDataChange(T t) 回调执行结果
      void onDataError(CoreErrorCode coreErrorCode, String errorMsg) 回调执行错误
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onDataChange

         abstract void onDataChange(T t)

        回调执行结果

        Parameters:
        t - 回调执行结果的数据
      • onDataError

         void onDataError(CoreErrorCode coreErrorCode, String errorMsg)

        回调执行错误

        Parameters:
        coreErrorCode - 错误
        errorMsg - 错误信息