Class GetFileCallback<T extends LCFile>

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

public abstract class GetFileCallback<T extends LCFile> extends LCCallback<T>
  • Constructor Details

    • GetFileCallback

      public GetFileCallback()
  • Method Details

    • done

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

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