Class FindCallback<T extends LCObject>

java.lang.Object
cn.leancloud.callback.LCCallback<List<T>>
cn.leancloud.callback.FindCallback<T>

public abstract class FindCallback<T extends LCObject> extends LCCallback<List<T>>
  • Constructor Details

    • FindCallback

      public FindCallback()
  • Method Details

    • done

      public abstract void done(List<T> objects, LCException LCException)
      Override this function with the code you want to run after the fetch is complete.
      Parameters:
      objects - The objects matching the query, or null if it failed.
      LCException - The exception raised by the find, or null if it succeeded.
    • internalDone0

      protected final void internalDone0(List<T> returnValue, LCException e)
      Specified by:
      internalDone0 in class LCCallback<List<T extends LCObject>>