PollsConfig

data class PollsConfig(val multipleVotes: PollFeatureConfig = PollFeatureConfig(), val maxVotesPerPerson: PollFeatureConfig = PollFeatureConfig(), val anonymousPoll: PollFeatureConfig = PollFeatureConfig(), val suggestAnOption: PollFeatureConfig = PollFeatureConfig(), val allowComments: PollFeatureConfig = PollFeatureConfig())

Configuration for the poll creation screen.

Parameters

multipleVotes

Configuration for the "multiple votes" toggle.

maxVotesPerPerson

Configuration for the "limit votes per person" toggle (child of "multiple votes").

anonymousPoll

Configuration for the "anonymous poll" toggle.

suggestAnOption

Configuration for the "suggest an option" toggle.

allowComments

Configuration for the "allow comments" toggle.

Constructors

Link copied to clipboard
constructor(multipleVotes: PollFeatureConfig = PollFeatureConfig(), maxVotesPerPerson: PollFeatureConfig = PollFeatureConfig(), anonymousPoll: PollFeatureConfig = PollFeatureConfig(), suggestAnOption: PollFeatureConfig = PollFeatureConfig(), allowComments: PollFeatureConfig = PollFeatureConfig())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard