SBDPollParams Class Reference

Inherits from NSObject
Declared in SBDPollParams.h

Overview

Represents a parameter object to create or update poll object

  title

Title of this poll

@property (nonatomic, strong) NSString *title

Declared In

SBDPollParams.h

  text

An additional text to accompany the poll. Can be used to provide explanations for incorrect quiz answers

@property (nonatomic, strong, nullable) NSString *text

Declared In

SBDPollParams.h

  options

Possible options for which a user can vote

@property (nonatomic, strong) NSArray<NSString*> *options

Discussion

Note: this property is only valid when creating a poll, ignored when updating a poll

Declared In

SBDPollParams.h

  isAnonymous

Whether to make the votes anonymous. Default is NO

@property (atomic, assign) BOOL isAnonymous

Declared In

SBDPollParams.h

  allowUserSuggestion

Whether to allow user-suggested options. Default is NO

@property (atomic, assign) BOOL allowUserSuggestion

Declared In

SBDPollParams.h

  allowMutipleVotes

Whether to allow multiple vote casting. Default is NO

@property (atomic, assign) BOOL allowMutipleVotes

Declared In

SBDPollParams.h

  closeAt

Unix timestamp at which the poll has closed or will close (millisecond)

@property (atomic, assign) long long closeAt

Declared In

SBDPollParams.h