Class LoginCallback

java.lang.Object
com.codename1.social.LoginCallback

public abstract class LoginCallback extends Object
This class is used to indicate whether login was successful or not, it is an abstract class rather than an interface in order to allow additional features in the future.
  • Constructor Details

    • LoginCallback

      public LoginCallback()
  • Method Details

    • loginSuccessful

      public void loginSuccessful()
      Indicates that logging in to the social network has been successful
    • loginFailed

      public void loginFailed(String errorMessage)

      Indicates that logging in to the social network has failed

      Parameters
      • errorMessage: the error message corresponding to this