Package 

Interface ILoginCallback


  • 
    public interface ILoginCallback
    
                        

    The interface describes user login results.

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(User user) Login successful
      abstract void onError(String code, String error) Login failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSuccess

         abstract void onSuccess(User user)

        Login successful

        Parameters:
        user - the user User
      • onError

         abstract void onError(String code, String error)

        Login failed.

        Parameters:
        code - the failure code
        error - the failure error message