PollType
public indirect enum PollType : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes the type of a poll
-
A regular poll
- allowMultipleAnswers: True, if multiple answer options can be chosen simultaneously
Declaration
Swift
case regular(allowMultipleAnswers: Bool) -
A poll in quiz mode, which has exactly one correct answer option and can be answered only once
- correctOptionId: 0-based identifier of the correct answer option; -1 for a yet unanswered poll
Declaration
Swift
case quiz(correctOptionId: Int32)
View on GitHub
Install in Dash
PollType Enumeration Reference