TrackerBase
Lớp này không còn khả dụng trong phiên bản gần đây nhất của SDK.

Tracks broadcasts about changes in the state

Mở rộng:Object
Gói:accountkit
Xây dựng
TrackerBase()

The constructor.

public TrackerBase()
Phương thức thực thể
startTracking()

Starts tracking the state

public void startTracking()
stopTracking()

Stops tracking the state

public void stopTracking()
pauseTracking()

Pauses tracking the state

The state changes will be enqueued and then flushed out after the next call to startTracking.

public void pauseTracking()
isPaused()

Gets whether the tracker is paused

public boolean isPaused()
Returns
True if the tracker is paused, false if not
isTracking()

Gets whether the tracker is tracking the state

public boolean isTracking()
Returns
True if the tracker is tracking the state, false if not
getActionStateChanged()
protected abstract String getActionStateChanged()
Returns
The action associated with the state change for the given tracker
isLocal()

Specified whether the broadcasts are local.

When true, this class will receive broadcasts from the LocalBroadcastManager, otherwise from the application context. Returns true by default.

protected boolean isLocal()
Returns
Boolean value specifying whether the broadcast is a local broadcast
onReceive(Intent)

Called when the broadcast is received.

protected abstract void onReceive(Intent intent)
Thông sốMô tả
intentThe intent that was broadcast
Hằng
EXTRA_LOGIN_ERROR
public static final String EXTRA_LOGIN_ERROR
EXTRA_LOGIN_MODEL
public static final String EXTRA_LOGIN_MODEL
EXTRA_LOGIN_STATUS
public static final String EXTRA_LOGIN_STATUS