All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.leancloud.callback.FindCallback Maven / Gradle / Ivy

package cn.leancloud.callback;

import cn.leancloud.LCException;
import cn.leancloud.LCObject;

import java.util.List;

public abstract class FindCallback extends LCCallback> {
  /**
   * Override this function with the code you want to run after the fetch is complete.
   *
   * @param objects The objects matching the query, or null if it failed.
   * @param LCException The exception raised by the find, or null if it succeeded.
   */
  public abstract void done(List objects, LCException LCException);

  protected final void internalDone0(List returnValue, LCException e) {
    done(returnValue, e);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy