FeedbackEvent

class FeedbackEvent @JvmOverloads() constructor(reason: String, text: String?, screenshot: Bitmap?, sessionId: String?, feedbackId: String?)

Feedback information, provided by user.

Constructors

FeedbackEvent
Link copied to clipboard
fun FeedbackEvent(reason: String, text: String? = null, screenshot: Bitmap? = null, sessionId: String? = null, feedbackId: String? = null)

Types

FeedbackReason
Link copied to clipboard
annotation class FeedbackReason
Search feedback reason.

Functions

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

Properties

feedbackId
Link copied to clipboard
val feedbackId: String? = null
Unique feedback ID.
reason
Link copied to clipboard
val reason: String
Reason for user's feedback.
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.