EmailLoginTracker
最新版本的 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.

延伸:TrackerBase
套件:accountkit
建構函式
EmailLoginTracker()
public EmailLoginTracker()
執行個體方法
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)
參數說明
loginModelThe current login model
onSuccess(EmailLoginModel)

The method that will be called when the login has completed

protected abstract void onSuccess(EmailLoginModel loginModel)
參數說明
loginModelThe current login model
onError(AccountKitException)

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

protected abstract void onError(AccountKitException exception)
參數說明
exceptionThe exception
onCancel(EmailLoginModel)

The method that will be called when the login was canceled

protected abstract void onCancel(EmailLoginModel loginModel)
參數說明
loginModelThe login that was canceled
常數
ACTION_EMAIL_LOGIN_STATE_CHANGED
public static final String ACTION_EMAIL_LOGIN_STATE_CHANGED