RateYourExperience

class RateYourExperience(rating: Int, questionText: String) : VirtualFeedback, Parcelable

A VirtualFeedback implementation associated with the FeedbackQuestions.RATE_YOUR_EXPERIENCE question.

Parameters

rating

On a scale of 0-10, how likely the user is to recommend Virtual Visits to a friend or family.

questionText

An optional parameter which can be modified if the question text displayed to the user differs from the default.

Constructors

RateYourExperience
Link copied to clipboard
fun RateYourExperience(rating: Int, questionText: String = "On a scale of 0-10, how likely are you to recommend ExpressCare Virtual to a friend or family? 0 - not likely at all, 10 - extremely likely")
On a scale of 0-10, how likely the user is to recommend Virtual Visits to a friend or family.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
validate
Link copied to clipboard
open override fun validate(): InvalidFeedbackObjectError?
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

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 override val questionText: String
An optional parameter which can be modified if the question text displayed to the user differs from the default.
rating
Link copied to clipboard
val rating: Int
On a scale of 0-10, how likely the user is to recommend Virtual Visits to a friend or family.