Analytics

AnalyticsFactory.getAnalytics(Context)

AnalyticsFactory.getAnalytics initializes an Analytics object to allow a user to enable/disable analytics tracking and to see the current tracking status.

isTrackingEnabled()

isTrackingEnabled returns a Boolean representing if analytics are actively tracking. True, if enabled. False, if disabled.

setTrackingEnabled(boolean trackingEnabled)

setTrackingEnabled toggled analytics tracking on and off. Tracking is always defaulted to on at initialization of an app. The only way to turn analytics tracking off is with this method.