Skip to main content

BRSurvey

Represents a survey consisting of a series of multiple-choice or open-ended questions.

Declaration

@interface BRSurvey : NSObject
class BRSurvey : NSObject

Quick Reference

Properties

PropertyDescription
slugIdentifier for this survey.
startDateSurvey start date, or nil if no start date.
endDateSurvey end date, or nil if no end date.
rewardValueReward value for participating in survey.
questionsArray of questions contained in this survey.

Properties

slug (read-only)

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

Identifier for this survey.


startDate (read-only)

@property (nonatomic, strong, readonly, nullable) NSDate *startDate;
var startDate: Date? { get }

Survey start date, or nil if no start date.


endDate (read-only)

@property (nonatomic, strong, readonly, nullable) NSDate *endDate;
var endDate: Date? { get }

Survey end date, or nil if no end date.


rewardValue (read-only)

@property (nonatomic, readonly) float rewardValue;
var rewardValue: Float { get }

Reward value for participating in survey.


questions (read-only)

@property (nonatomic, strong, readonly, nonnull) NSArray<BRSurveyQuestion *> *questions;
var questions: [BRSurveyQuestion] { get }

Array of questions contained in this survey.