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