Class CountCallback

java.lang.Object
cn.leancloud.callback.LCCallback<Integer>
cn.leancloud.callback.CountCallback

public abstract class CountCallback extends LCCallback<Integer>
  • Constructor Details

    • CountCallback

      public CountCallback()
  • Method Details

    • done

      public abstract void done(int count, LCException e)
      Override this function with the code you want to run after the count is complete.
      Parameters:
      count - The number of objects matching the query, or -1 if it failed.
      e - The exception raised by the count, or null if it succeeded.
    • internalDone0

      protected final void internalDone0(Integer returnValue, LCException e)
      internal done function.
      Specified by:
      internalDone0 in class LCCallback<Integer>
      Parameters:
      returnValue - return value.
      e - exception.