public static interface

CoreApi.Analytics

com.mapsted.positioning.CoreApi.Analytics
Known Indirect Subclasses

Class Overview

Use AnalyticsManager for analytics related functionalities

Summary

Public Methods
abstract void addMapAnalyticsEvent(ISearchable iSearchable, MapAnalyticsActionType actionType)
Notify of a map-interaction event
abstract void addMarketingAnalyticsEvent(String campaignId, MarketingEventType eventType, MarketingInteractionType interactionType)
Notify of a marketing analytics event
abstract void addSearchEvent(String searchBarId, String searchString, String selectedString, AnalyticsBundleContent analyticsBundleContent)
Notify that a search event occured
abstract int getAnalyticsCollectionMode()
abstract boolean getLocationLoggingStatus()
Get the current status of whether or not to log position analytics data for real-time analytics
abstract void setAnalyticsCollectionMode(int collectionMode)
Set up the analytics mode.
abstract void setLocationLogging(boolean enable)
Set up whether or not to log position analytics data for real-time analytics
abstract void updateScreen(String currentScreen)
Notify that a screen change occurred
abstract void updateScreen(String currentScreen, AnalyticsBundleContent analyticsBundleContent)
Notify that a screen change occurred

Public Methods

public abstract void addMapAnalyticsEvent (ISearchable iSearchable, MapAnalyticsActionType actionType)

Notify of a map-interaction event

Parameters
iSearchable item that the user interacted with (e.g., selected entity or tag)
actionType the action that was taken

public abstract void addMarketingAnalyticsEvent (String campaignId, MarketingEventType eventType, MarketingInteractionType interactionType)

Notify of a marketing analytics event

Parameters
campaignId identifying the campaign
eventType the type of event shown (e.g., popup, push notification)
interactionType how the user interacted with the event

public abstract void addSearchEvent (String searchBarId, String searchString, String selectedString, AnalyticsBundleContent analyticsBundleContent)

Notify that a search event occured

Parameters
searchBarId identifying string for the search bar used (e.g., screen or screen location)
searchString the string that the user typed in
selectedString the string of the item that was selected (if they selected an item)

public abstract int getAnalyticsCollectionMode ()

public abstract boolean getLocationLoggingStatus ()

Get the current status of whether or not to log position analytics data for real-time analytics

Returns
  • whether enabled or disabled

public abstract void setAnalyticsCollectionMode (int collectionMode)

Set up the analytics mode.

The default mode is analytics on. There are three modes in total: analytics on, analytics off, and analytics on only when wifi is on.

Parameters
collectionMode The analytics mode you want to set.

public abstract void setLocationLogging (boolean enable)

Set up whether or not to log position analytics data for real-time analytics

Parameters
enable whether to enable or disable

public abstract void updateScreen (String currentScreen)

Notify that a screen change occurred

Parameters
currentScreen identifying string for the new screen

public abstract void updateScreen (String currentScreen, AnalyticsBundleContent analyticsBundleContent)

Notify that a screen change occurred

Parameters
currentScreen identifying string for the new screen
analyticsBundleContent optional bundle content to indicate more specifics regarding screen (e.g., selected item or filtered by categories)