EmailLoginTracker
Cette classe n’est plus disponible dans la version la plus récente du 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.

Prolonge :TrackerBase
Package :accountkit
Constructeurs
EmailLoginTracker()
public EmailLoginTracker()
Méthodes d’instance
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)
ParamètreDescription
loginModelThe current login model
onSuccess(EmailLoginModel)

The method that will be called when the login has completed

protected abstract void onSuccess(EmailLoginModel loginModel)
ParamètreDescription
loginModelThe current login model
onError(AccountKitException)

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

protected abstract void onError(AccountKitException exception)
ParamètreDescription
exceptionThe exception
onCancel(EmailLoginModel)

The method that will be called when the login was canceled

protected abstract void onCancel(EmailLoginModel loginModel)
ParamètreDescription
loginModelThe login that was canceled
Constantes
ACTION_EMAIL_LOGIN_STATE_CHANGED
public static final String ACTION_EMAIL_LOGIN_STATE_CHANGED