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