public class TrackingStateObserver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TrackingStateObserver.OnTrackingStateChangeListener
Used for receiving notifications when tracking state has changed.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_TRACKING_ERROR
Deprecated.
|
static java.lang.String |
ACTION_TRACKING_STATE
Broadcast intent action when state changed or errors occur in the SDK.
|
static int |
EXTRA_EVENT_CODE_START
Broadcast intent code when tracking has started.
|
static int |
EXTRA_EVENT_CODE_STOP
Broadcast intent code when tracking has stopped.
|
static java.lang.String |
EXTRA_KEY_CODE_
Broadcast intent extra data name for tracking event code.
|
static java.lang.String |
EXTRA_KEY_DEVICE_ID_
Broadcast intent extra data name for tracking event device id.
|
static java.lang.String |
EXTRA_KEY_MESSAGE_
Broadcast intent extra data name for tracking event message.
|
Constructor and Description |
---|
TrackingStateObserver(android.content.Context context,
SdkServiceState coreSDKState,
AccountRepository accountRepository) |
Modifier and Type | Method and Description |
---|---|
void |
onError(TrackingErrorEvent event) |
void |
onStart(TrackingStartEvent event) |
void |
onStop(TrackingStopEvent event) |
@Deprecated public static final java.lang.String ACTION_TRACKING_ERROR
TrackingError
public static final java.lang.String ACTION_TRACKING_STATE
TrackingError
public static final java.lang.String EXTRA_KEY_CODE_
EXTRA_EVENT_CODE_START
, EXTRA_EVENT_CODE_STOP
, TrackingError.TrackingErrorCode
public static final java.lang.String EXTRA_KEY_MESSAGE_
public static final java.lang.String EXTRA_KEY_DEVICE_ID_
public static final int EXTRA_EVENT_CODE_START
public static final int EXTRA_EVENT_CODE_STOP