SurveyChallengeResponseSetting

public struct SurveyChallengeResponseSetting : ChallengeResponseSetting, Equatable

Struct representing Challenge response settings for Survey Challenges.

  • Enumeration of Survey Challenge Question Types.

    See more

    Declaration

    Swift

    public enum QuestionType : String, Codable
  • Indicates whether comments are allowed.

    Declaration

    Swift

    public var allowComments: Bool
  • Url of the image.

    Declaration

    Swift

    public var imageUrl: String
  • Maximum character count for answer.

    Declaration

    Swift

    public var maxCharCount: Int
  • Options for multi-choice survey challenge with images as options.

    Declaration

    Swift

    public var options: [String]
  • Survey question.

    Declaration

    Swift

    public var question: String
  • Type of question.

    Declaration

    Swift

    public var questionType: QuestionType
  • Survey options for old multi-choice survey.

    Declaration

    Swift

    public var surveyOptions: [String]
  • Undocumented

    Declaration

    Swift

    public init(allowComments: Bool, imageUrl: String, maxCharCount: Int,
                options: [String], question: String, questionType: QuestionType,
                surveyOptions: [String])

SurveyChallengeResponseSetting

  • Declaration

    Swift

    public init(from decoder: Decoder) throws