public abstract class LoginCallback

  1. Object
  2. LoginCallback
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.

Constructors

public LoginCallback()

Methods

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

Inherited methods

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 String
the error message corresponding to this