VirtualFeedback

sealed class VirtualFeedback

A base class representing user-given feedback.

Parameters

question

The FeedbackQuestions this feedback is associated with.

questionText

The plain-text question that was displayed to the user when asking for feedback.

answer

The user's provided feedback for this particular question.

Types

FollowUpOnExperience
Link copied to clipboard
class FollowUpOnExperience(allowFollowUp: Boolean, questionText: String) : VirtualFeedback, Parcelable
A VirtualFeedback implementation associated with the FeedbackQuestions.FOLLOW_UP_ON_EXPERIENCE question.
HowWeDid
Link copied to clipboard
class HowWeDid(answer: String, questionText: String) : VirtualFeedback, Parcelable
A VirtualFeedback implementation associated with the FeedbackQuestions.HOW_WE_DID question.
RateYourExperience
Link copied to clipboard
class RateYourExperience(rating: Int, questionText: String) : VirtualFeedback, Parcelable
A VirtualFeedback implementation associated with the FeedbackQuestions.RATE_YOUR_EXPERIENCE question.

Functions

validate
Link copied to clipboard
abstract fun validate(): InvalidFeedbackObjectError?

Properties

answer
Link copied to clipboard
open val answer: String
The user's provided feedback for this particular question.
question
Link copied to clipboard
val question: FeedbackQuestions
The FeedbackQuestions this feedback is associated with.
questionText
Link copied to clipboard
open val questionText: String
The plain-text question that was displayed to the user when asking for feedback.

Inheritors

VirtualFeedback
Link copied to clipboard
VirtualFeedback
Link copied to clipboard
VirtualFeedback
Link copied to clipboard