Class FunctionCallback<T>

java.lang.Object
cn.leancloud.callback.LCCallback<T>
cn.leancloud.callback.FunctionCallback<T>

public abstract class FunctionCallback<T> extends LCCallback<T>
  • Constructor Details

    • FunctionCallback

      public FunctionCallback()
  • Method Details

    • done

      public abstract void done(T object, LCException e)
      Override this function with the code you want to run after the cloud function is complete.
      Parameters:
      object - The object that was returned by the cloud function.
      e - The exception raised by the cloud call, or null if it succeeded.
    • internalDone0

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