Phiên bản SDK Android


public abstract class ProfileTracker
This class can be extended to receive notifications of profile changes. The .stopTracking method should be called in the onDestroy() method of the receiving Activity or Fragment.
Field Summary
Modifier and TypeFieldDescription
private BooleanisTracking
Constructor Summary
ConstructorDescription
ProfileTracker()
Method Summary
Modifier and TypeMethodDescription
final BooleangetIsTracking() Gets whether the tracker is tracking the current access token.
final UnitsetIsTracking(Boolean isTracking)
final UnitstartTracking() Starts tracking the current profile.
final UnitstopTracking() Stops tracking the current profile.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ProfileTracker

ProfileTracker()
Method Detail

getIsTracking

 final BooleangetIsTracking()
Gets whether the tracker is tracking the current access token.

setIsTracking

 final UnitsetIsTracking(Boolean isTracking)

startTracking

 final UnitstartTracking()
Starts tracking the current profile.

stopTracking

 final UnitstopTracking()
Stops tracking the current profile.