Comment on page
Combi Poll Element
Describes Sliced Element
final public class CombiPoll: BasePoll
Returns array of votes for each option of each question. Votes are stored using matrix and each element is calculated the next way: (row * columns) + column, where row is option, column is question, Zero row has title “Unspecified”
public var results: [[String: AnyObject]]!
public var resultsPerSource: [[String: AnyObject]]!
Returns array where each element is an option index you've voted for. See Get results section to see how votes are stored.
userVote: [Int]?
Vote for option (zero-based numbering) of a question (zero-based numbering). Returns true on success.
boolean vote(int questionIndex, int optionIndex)
Last modified 4yr ago