MissingResultFeedbackEvent

class MissingResultFeedbackEvent @JvmOverloads() constructor(responseInfo: ResponseInfo, text: String?, screenshot: Bitmap?, sessionId: String?)

Feedback information for use case, when user can't find appropriate POI / place in received list of com.mapbox.search.result.SearchResult or com.mapbox.search.result.SearchSuggestion from one of search engines.

Constructors

MissingResultFeedbackEvent
Link copied to clipboard
fun MissingResultFeedbackEvent(responseInfo: ResponseInfo, text: String? = null, screenshot: Bitmap? = null, sessionId: String? = null)

Functions

copy
Link copied to clipboard
fun copy(responseInfo: ResponseInfo = this.responseInfo, text: String? = this.text, screenshot: Bitmap? = this.screenshot, sessionId: String? = this.sessionId): MissingResultFeedbackEvent
Creates new MissingResultFeedbackEvent from current instance.

Properties

responseInfo
Link copied to clipboard
val responseInfo: ResponseInfo
Information about response, in which user couldn't find appropriate POI / place.
screenshot
Link copied to clipboard
val screenshot: Bitmap? = null
Screenshot with useful information for improving Search SDK.
sessionId
Link copied to clipboard
val sessionId: String? = null
Unique ID for identifying several related Mapbox events per session.
text
Link copied to clipboard
val text: String? = null
User's feedback text.