Class LogInCallback<T extends LCUser>

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

public abstract class LogInCallback<T extends LCUser> extends LCCallback<T>
  • Constructor Details

    • LogInCallback

      public LogInCallback()
  • Method Details

    • done

      public abstract void done(T user, LCException e)
      Override this function with the code you want to run after the save is complete.
      Parameters:
      user - The user that logged in, if the username and password is valid.
      e - The exception raised by the login.
    • internalDone0

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