Analytics Service
interface AnalyticsService
Content copied to clipboard
Class for tracking analytics events from user side.
Functions
createRawFeedbackEvent
Link copied to clipboard
abstract fun createRawFeedbackEvent(searchResult: SearchResult, responseInfo: ResponseInfo): String
Content copied to clipboard
abstract fun createRawFeedbackEvent(searchSuggestion: SearchSuggestion, responseInfo: ResponseInfo): String
Content copied to clipboard
sendFeedback
Link copied to clipboard
abstract fun sendFeedback(favoriteRecord: FavoriteRecord, event: FeedbackEvent)
Content copied to clipboard
abstract fun sendFeedback(historyRecord: HistoryRecord, event: FeedbackEvent)
Content copied to clipboard
abstract fun sendFeedback(searchResult: SearchResult, responseInfo: ResponseInfo, event: FeedbackEvent)
Content copied to clipboard
abstract fun sendFeedback(searchSuggestion: SearchSuggestion, responseInfo: ResponseInfo, event: FeedbackEvent)
Content copied to clipboard
sendMissingResultFeedback
Link copied to clipboard
abstract fun sendMissingResultFeedback(event: MissingResultFeedbackEvent)
Content copied to clipboard
sendRawFeedbackEvent
Link copied to clipboard
abstract fun sendRawFeedbackEvent(rawFeedbackEvent: String, event: FeedbackEvent)
Content copied to clipboard