ProfileTracker
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

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

확장:Object
패키지:facebook
생성자
ProfileTracker()

Constructor.

public ProfileTracker()
인스턴스 메서드
onCurrentProfileChanged(Profile, Profile)

The method that will be called when the profile changes.

protected abstract void onCurrentProfileChanged(Profile oldProfile, Profile currentProfile)
매개변수설명
oldProfileThe profile before the change.
currentProfileThe new profile.
startTracking()

Starts tracking the current profile.

public void startTracking()
stopTracking()

Stops tracking the current profile.

public void stopTracking()
isTracking()

Gets whether the tracker is tracking the current access token.

public boolean isTracking()
Returns
True if the tracker is the tracking the current access token, false if not