AnalyticsAPI
instead.@Deprecated
public interface AnalyticsAPI
Modifier and Type | Method and Description |
---|---|
void |
logActivity(java.lang.String activityType)
Deprecated.
Report user activity.
|
void logActivity(java.lang.String activityType) throws MFPServerOperationException
Note: To ensure that the activity is stored in the database, set reports.exportRawData to true in the worklight.properties file.
Partially deprecated since V7.0. The client-side logActivity methods (on iOS, Android, and JavaScript) and the server-side database (the Reports database) used to store the String are deprecated. Use the Logger client-side methods and the Operational Analytics feature instead. Note that native Windows8, WindowsPhone8, and J2ME environments did not deprecate logActivity because there is currently no Logger support on those platforms. Those environments will continue to make use of this interface. In V7.0 and recent previous releases, the data from logActivity is sent to the Operational Analytics feature in addition to the (now deprecated) Reports database.activityType
- - A string that identifies the activity.MFPServerOperationException
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.