sendFeedback

abstract fun sendFeedback(searchResult: SearchResult, responseInfo: ResponseInfo, event: FeedbackEvent, callback: CompletionCallback<Unit>? = null)

Sends feedback event to analytics.

Parameters

searchResult

search result, for which feedback is given.

responseInfo

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

searchSuggestion

search suggestion, for which feedback is given.

responseInfo

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

historyRecord

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

favoriteRecord

favorite record, for which feedback is given.

event

extra information for feedback, provided by user.