VirtualFeedback

@frozen
public enum VirtualFeedback

An enum that represents a type of feedback this is supported. A different question string can be passed in. If not, a default question is saved

  • A rating integer feedback, with a 0-10 scale. The default question is "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" see defaultQuestionString

    Declaration

    Swift

    case rating(question: String?, rating: Int)
  • A feedback open string response The default question is "In your own words, tell us how we did" see defaultQuestionString

    Declaration

    Swift

    case feedback(question: String?, answer: String)
  • A follow up boolean response The default question is "May we contact you to follow-up on your experience?" see defaultQuestionString

    Declaration

    Swift

    case followUp(question: String?, answer: Bool)
  • The default questions that are used if no question is filled in each case

    Declaration

    Swift

    public var defaultQuestionString: String { get }