public abstract class EmailLoginTracker extends Tracker
Tracker.stopTracking()
method should be called in the onDestroy() method of the receiving
Activity or Fragment.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_EMAIL_LOGIN_STATE_CHANGED |
EXTRA_LOGIN_ERROR, EXTRA_LOGIN_MODEL, EXTRA_LOGIN_STATUS
Constructor and Description |
---|
EmailLoginTracker() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getActionStateChanged() |
protected abstract void |
onCancel(EmailLoginModel loginModel)
The method that will be called when the login was canceled
|
protected abstract void |
onError(AccountKitException exception)
The method that will be called when the login has an error
|
protected void |
onReceive(android.content.Intent intent)
Called when the broadcast is received.
|
protected abstract void |
onStarted(EmailLoginModel loginModel)
The method that will be called when the login has started.
|
protected abstract void |
onSuccess(EmailLoginModel loginModel)
The method that will be called when the login has completed
|
isLocal, isPaused, isTracking, pauseTracking, startTracking, stopTracking
public static final java.lang.String ACTION_EMAIL_LOGIN_STATE_CHANGED
protected abstract void onStarted(EmailLoginModel loginModel)
loginModel
- the current login modelprotected abstract void onSuccess(EmailLoginModel loginModel)
loginModel
- the current login modelprotected abstract void onError(AccountKitException exception)
exception
- the exceptionprotected abstract void onCancel(EmailLoginModel loginModel)
loginModel
- the login that was canceledprotected java.lang.String getActionStateChanged()
getActionStateChanged
in class Tracker