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

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

package cn.leancloud.callback;

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

public abstract class RefreshCallback extends LCCallback {
  /**
   * Override this function with the code you want to run after the save is complete.
   *
   * @param object return object.
   * @param e The exception raised by the save, or null if it succeeded.
   */
  public abstract void done(T object, LCException e);

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy