|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.mobileconnectors.amazonmobileanalytics.MobileAnalyticsManager
public class MobileAnalyticsManager
MobileAnalyticsManager in the entry point to recording analytic events for your application. Each MobileAnalyticsManager instance is associated with a app ID which is used both as a key to get a SharedPreferences object that MobileAnalyticsManager can use, and as a directory name that MobileAnalyticsManager will use to store files about events that you record. If you are developing a library, you should create a app ID for your library so it does not collide with the app ID of app developer using your library.
Method Summary | |
---|---|
EventClient |
getEventClient()
The EventClient is the primary class used to create, store, and
submit events from your application. |
static MobileAnalyticsManager |
getInstance(java.lang.String appId)
|
static MobileAnalyticsManager |
getOrCreateInstance(android.content.Context context,
java.lang.String appId,
Regions region,
AWSCredentialsProvider credentialsProvider)
|
static MobileAnalyticsManager |
getOrCreateInstance(android.content.Context context,
java.lang.String appId,
Regions region,
AWSCredentialsProvider credentialsProvider,
AnalyticsCallback<MobileAnalyticsManager> initCompletionCallback)
|
static MobileAnalyticsManager |
getOrCreateInstance(android.content.Context context,
java.lang.String appId,
Regions region,
AWSCredentialsProvider credentialsProvider,
AnalyticsConfig options)
|
static MobileAnalyticsManager |
getOrCreateInstance(android.content.Context context,
java.lang.String appId,
Regions region,
AWSCredentialsProvider credentialsProvider,
AnalyticsConfig options,
AnalyticsCallback<MobileAnalyticsManager> initCompletionCallback)
|
SessionClient |
getSessionClient()
The SessionClient is the primary class used to pause and resume
sessions, so that you can gain useful data about how your users are
interacting with your application. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public EventClient getEventClient()
EventClient
is the primary class used to create, store, and
submit events from your application.
EventClient
public SessionClient getSessionClient()
SessionClient
is the primary class used to pause and resume
sessions, so that you can gain useful data about how your users are
interacting with your application. You should use the
SessionClient
onPause and onResume method in each of your
activities onPause and onResume methods.
SessionClient
public static MobileAnalyticsManager getInstance(java.lang.String appId)
public static MobileAnalyticsManager getOrCreateInstance(android.content.Context context, java.lang.String appId, Regions region, AWSCredentialsProvider credentialsProvider) throws InitializationException
InitializationException
public static MobileAnalyticsManager getOrCreateInstance(android.content.Context context, java.lang.String appId, Regions region, AWSCredentialsProvider credentialsProvider, AnalyticsConfig options) throws InitializationException
InitializationException
public static MobileAnalyticsManager getOrCreateInstance(android.content.Context context, java.lang.String appId, Regions region, AWSCredentialsProvider credentialsProvider, AnalyticsCallback<MobileAnalyticsManager> initCompletionCallback) throws InitializationException
InitializationException
public static MobileAnalyticsManager getOrCreateInstance(android.content.Context context, java.lang.String appId, Regions region, AWSCredentialsProvider credentialsProvider, AnalyticsConfig options, AnalyticsCallback<MobileAnalyticsManager> initCompletionCallback) throws InitializationException
InitializationException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |