AnalyticsService

interface AnalyticsService

Class for tracking analytics events from user side.

Functions

createRawFeedbackEvent
Link copied to clipboard
abstract fun createRawFeedbackEvent(searchResult: SearchResult, responseInfo: ResponseInfo): String
Creates raw feedback event.
abstract fun createRawFeedbackEvent(searchSuggestion: SearchSuggestion, responseInfo: ResponseInfo): String
Creates raw feedback event.
sendFeedback
Link copied to clipboard
abstract fun sendFeedback(favoriteRecord: FavoriteRecord, event: FeedbackEvent)
Sends feedback event to analytics.
abstract fun sendFeedback(historyRecord: HistoryRecord, event: FeedbackEvent)
Sends feedback event to analytics.
abstract fun sendFeedback(searchResult: SearchResult, responseInfo: ResponseInfo, event: FeedbackEvent)
Sends feedback event to analytics.
abstract fun sendFeedback(searchSuggestion: SearchSuggestion, responseInfo: ResponseInfo, event: FeedbackEvent)
Sends feedback event to analytics.
sendMissingResultFeedback
Link copied to clipboard
abstract fun sendMissingResultFeedback(event: MissingResultFeedbackEvent)
Sends missing result feedback event to analytics.
sendRawFeedbackEvent
Link copied to clipboard
abstract fun sendRawFeedbackEvent(rawFeedbackEvent: String, event: FeedbackEvent)
Sends feedback event to analytics with pre-cached raw feedback event info.