Skip to main content

BRSurveyResponse

Captures the user's response to a survey question.

Declaration

@interface BRSurveyResponse : NSObject
class BRSurveyResponse : NSObject

Quick Reference

Properties

PropertyDescription
answersSelectedFor multiple-choice questions, contains the indexes of selected answers from BRSurveyQuestion.answers.
freeTextFor open-ended questions, contains the text entered by the user.

Properties

answersSelected

@property (nonatomic, strong, nonnull) NSArray<NSNumber *> *answersSelected;
var answersSelected: [NSNumber] { get set }

For multiple-choice questions, contains the indexes of selected answers from BRSurveyQuestion.answers.


freeText

@property (nonatomic, strong, nonnull) NSString *freeText;
var freeText: String { get set }

For open-ended questions, contains the text entered by the user.