AccessTokenTracker
有此級別的更新版本。前往查看 最新版本。

This class can be extended to receive notifications of access token changes. The AccessTokenTracker.stopTracking() method should be called in the onDestroy() method of the receiving Activity or Fragment.

伸延:TrackerBase
套件:accountkit
建構函式
AccessTokenTracker()
public AccessTokenTracker()
執行個體方法
onCurrentAccessTokenChanged(AccessToken, AccessToken)

The method that will be called with the access token changes.

protected abstract void onCurrentAccessTokenChanged(AccessToken oldAccessToken, AccessToken currentAccessToken)
參數說明
oldAccessTokenThe access token before the change.
currentAccessTokenThe new access token.
常數
ACTION_CURRENT_ACCESS_TOKEN_CHANGED
public static final String ACTION_CURRENT_ACCESS_TOKEN_CHANGED
EXTRA_NEW_ACCESS_TOKEN
public static final String EXTRA_NEW_ACCESS_TOKEN
EXTRA_OLD_ACCESS_TOKEN
public static final String EXTRA_OLD_ACCESS_TOKEN