send Feedback
abstract fun sendFeedback(searchResult: SearchResult, responseInfo: ResponseInfo, event: FeedbackEvent, callback: CompletionCallback<Unit>? = null)
Sends feedback event to analytics.
Parameters
search Result
search result, for which feedback is given.
response Info
search context, associated with provided searchResult.
event
extra information for feedback, provided by user.
abstract fun sendFeedback(searchSuggestion: SearchSuggestion, responseInfo: ResponseInfo, event: FeedbackEvent, callback: CompletionCallback<Unit>? = null)
Sends feedback event to analytics.
Parameters
search Suggestion
search suggestion, for which feedback is given.
response Info
search context, associated with provided searchSuggestion.
event
extra information for feedback, provided by user.
abstract fun sendFeedback(historyRecord: HistoryRecord, event: FeedbackEvent, callback: CompletionCallback<Unit>? = null)
Sends feedback event to analytics.
Parameters
history Record
history record, for which feedback is given.
event
extra information for feedback, provided by user.
abstract fun sendFeedback(favoriteRecord: FavoriteRecord, event: FeedbackEvent, callback: CompletionCallback<Unit>? = null)
Sends feedback event to analytics.
Parameters
favorite Record
favorite record, for which feedback is given.
event
extra information for feedback, provided by user.