| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.pinpoint.analytics |
Primary classes for interacting with the Pinpoint Analytics connector for
easily creating and recording app analytics
|
| com.amazonaws.mobileconnectors.pinpoint.analytics.monetization |
Pinpoint helper classes for recording monetization and purchasing events
|
| Modifier and Type | Method and Description |
|---|---|
AnalyticsEvent |
AnalyticsClient.createEvent(String eventType)
Create an event with the specified eventType.
|
protected AnalyticsEvent |
AnalyticsClient.createEvent(String eventType,
long sessionStart,
Long sessionEnd,
Long sessionDuration) |
static AnalyticsEvent |
AnalyticsEvent.createFromEvent(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context,
String sessionId,
long timestamp,
AnalyticsEvent copyEvent)
Creates a copy of an event with specified parameters
|
static AnalyticsEvent |
AnalyticsEvent.newInstance(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context,
String sessionId,
Long sessionStart,
Long sessionEnd,
Long duration,
long timestamp,
String eventType)
Creates a new instance of an AnalyticsEvent
|
static AnalyticsEvent |
AnalyticsEvent.newInstance(String eventId,
String eventType,
Map<String,String> attributes,
Map<String,Double> metrics,
com.amazonaws.mobileconnectors.pinpoint.internal.core.util.SDKInfo sdkInfo,
String sessionId,
Long sessionStart,
Long sessionStop,
Long sessionDuration,
long timestamp,
String uniqueId,
com.amazonaws.mobileconnectors.pinpoint.internal.core.system.AndroidAppDetails appDetails,
com.amazonaws.mobileconnectors.pinpoint.internal.core.system.AndroidDeviceDetails deviceDetails)
Creates a new instance of an AnalyticsEvent
|
static AnalyticsEvent |
AnalyticsEvent.translateToEvent(org.json.JSONObject source)
Transforms a JSONObject into an event
|
AnalyticsEvent |
AnalyticsEvent.withAttribute(String name,
String value)
Adds an attribute to this
AnalyticsEvent with the specified key. |
AnalyticsEvent |
AnalyticsEvent.withMetric(String name,
Double value)
Adds a metric to this
AnalyticsEvent with the specified key. |
| Modifier and Type | Method and Description |
|---|---|
static AnalyticsEvent |
AnalyticsEvent.createFromEvent(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context,
String sessionId,
long timestamp,
AnalyticsEvent copyEvent)
Creates a copy of an event with specified parameters
|
void |
AnalyticsClient.recordEvent(AnalyticsEvent event)
Record the specified event to the local filestore Please note if the
amount of data stored events takes up EXCEEDS 5MiB further recordings
will be dropped
|
static org.json.JSONObject |
AnalyticsEvent.translateFromEvent(AnalyticsEvent source)
Translates an event to a JSONObject
|
| Modifier and Type | Method and Description |
|---|---|
AnalyticsEvent |
MonetizationEventBuilder.build()
Builds a monetization event.
|
Copyright © 2019. All rights reserved.