Interface AnalyticsAPI

  • public interface AnalyticsAPI
    API for reporting information to analytics. This API is accessible using the Jax-RS Context annotation, for example by defining a member varaible:
     private AnalyticsAPI analyticsApi;
    • Method Summary

      Modifier and Type Method and Description
      void logActivity(java.lang.String activityType)
      Report user activity.
    • Method Detail

      • logActivity

        void logActivity(java.lang.String activityType)
        Report user activity. This method is used to report user activity for auditing or reporting purposes. The IBM® MobileFirst® server maintains a separate database table to store application statistics. The data from logActivity is sent to the Operational Analytics feature.
        activityType - - A string that identifies the activity.

© Copyright IBM Corp. 2006, 2015. All Rights Reserved.