MissingResultFeedbackEvent

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

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

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

Functions

Link copied to clipboard
fun copy(responseInfo: ResponseInfo = this.responseInfo, text: String? = this.text, screenshot: Bitmap? = this.screenshot, sessionId: String? = this.sessionId, feedbackId: String? = this.feedbackId): MissingResultFeedbackEvent

Creates new MissingResultFeedbackEvent from current instance.

Properties

Link copied to clipboard
val feedbackId: String? = null

Unique feedback ID. If the passed value is null, the id will be generated inside the Search SDK. Normally SDK users don't have to provide it explicitly. One of the cases, when users should provide their own id, is when they want to have associated events in different analytics systems.

Link copied to clipboard

Information about response, in which user couldn't find appropriate POI / place.

Link copied to clipboard
val screenshot: Bitmap? = null

Screenshot with useful information for improving Search SDK.

Link copied to clipboard
val sessionId: String? = null

Unique ID for identifying several related Mapbox events per session.

Link copied to clipboard
val text: String? = null

User's feedback text.