EmailLoginTracker
Questa classe non è più disponibile nella versione più recente dell'SDK.

Tracks broadcasts about changes in the status of the current email login model

The EmailLoginTracker.stopTracking() method should be called in the onDestroy() method of the receiving Activity or Fragment.

Estende:TrackerBase
Pacchetto:accountkit
Costruttori
EmailLoginTracker()
public EmailLoginTracker()
Metodi di istanza
onStarted(EmailLoginModel)

The method that will be called when the login has started.

The polling has started at this point.

protected abstract void onStarted(EmailLoginModel loginModel)
ParametroDescrizione
loginModelThe current login model
onSuccess(EmailLoginModel)

The method that will be called when the login has completed

protected abstract void onSuccess(EmailLoginModel loginModel)
ParametroDescrizione
loginModelThe current login model
onError(AccountKitException)

The method that will be called when the login has an error

protected abstract void onError(AccountKitException exception)
ParametroDescrizione
exceptionThe exception
onCancel(EmailLoginModel)

The method that will be called when the login was canceled

protected abstract void onCancel(EmailLoginModel loginModel)
ParametroDescrizione
loginModelThe login that was canceled
Costanti
ACTION_EMAIL_LOGIN_STATE_CHANGED
public static final String ACTION_EMAIL_LOGIN_STATE_CHANGED