public class AnalyticsManager
extends java.lang.Object
Constructor and Description |
---|
AnalyticsManager(java.lang.String uniqueId,
Context context,
java.lang.String encryptionKey,
DeviceAppAttributes deviceAppAttributes)
Parameterized constructor.
|
Modifier and Type | Method and Description |
---|---|
DeviceAppAttributes |
getDeviceAppAttributes()
Returns device app attributes.
|
EventStoreManager |
getEventStoreManager()
Returns an instance of event store manager.
|
int |
getGlobalSequenceId()
Returns the global sequence ID.
|
void |
reset()
Resets this instance.
|
void |
setGlobalSequenceId(int sequenceId)
Sets the global sequence ID used by events.
|
public AnalyticsManager(java.lang.String uniqueId, Context context, java.lang.String encryptionKey, DeviceAppAttributes deviceAppAttributes)
uniqueId
- Unique ID that is used to determine where the events are stored.context
- Context.encryptionKey
- Encryption key.deviceAppAttributes
- Device app attributes.public void reset()
public void setGlobalSequenceId(int sequenceId)
sequenceId
- Sequence ID.public int getGlobalSequenceId()
public DeviceAppAttributes getDeviceAppAttributes()
public EventStoreManager getEventStoreManager()