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.AVException;
import cn.leancloud.AVObject;

import java.util.List;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy