public abstract class AccessTokenTracker
extends java.lang.Object
stopTracking()
method should be called in the onDestroy() method of the receiving Activity or
Fragment.Constructor and Description |
---|
AccessTokenTracker()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTracking()
Gets whether the tracker is tracking the current access token.
|
protected abstract void |
onCurrentAccessTokenChanged(AccessToken oldAccessToken,
AccessToken currentAccessToken)
The method that will be called with the access token changes.
|
void |
startTracking()
Starts tracking the current access token
|
void |
stopTracking()
Stops tracking the current access token.
|
protected abstract void onCurrentAccessTokenChanged(AccessToken oldAccessToken, AccessToken currentAccessToken)
oldAccessToken
- The access token before the change.currentAccessToken
- The new access token.public void startTracking()
public void stopTracking()
public boolean isTracking()