AnalyticsImpl

Mapsted Analytics API is the public API for logging mobile analytics data in the positioning SDK.

Types

Link copied to clipboard
Link copied to clipboard
open class SearchData

Functions

Link copied to clipboard
open fun addDeeplinkEvent(url: String)
Notifies when a deeplink event has occurred.
Link copied to clipboard
open fun addMapAnalyticsEvent(iSearchable: ISearchable, actionType: MapAnalyticsActionType)
Notify of a map-interaction event
Link copied to clipboard
open fun addMarketingAnalyticsEvent(campaignId: String, eventType: MarketingEventType, interactionType: MarketingInteractionType)
Notify of a marketing analytics event
Link copied to clipboard
open fun addPermissionCheckStatus(permission_check_type: PermissionCheckType, allowed: Boolean)
Notifies when permission checks have been granted or not
Link copied to clipboard
open fun addSearchEvent(searchBarId: String, searchString: String, selectedString: String, bundle: AnalyticsBundleContent)
Notify that a search event occured
Link copied to clipboard
Link copied to clipboard
Whether the live position is sent to Mapsted analytics; true by default (never set).
Link copied to clipboard
open fun setAnalyticsCollectionMode(collectionMode: Int)
Set up the analytics mode.
Link copied to clipboard
open fun setLocationLogging(enable: Boolean)
Sends the device's live indoor position to Mapsted analytics about every 5 s while positioning runs; ON by default; call setLocationLogging(false) to turn it off.
Link copied to clipboard
open fun updateScreen(currentScreen: String)
open fun updateScreen(currentScreen: String, bundleContent: AnalyticsBundleContent)
Notify that a screen change occurred