iOS SDK  v0.6.2-113-gb00714b
 All Classes Functions Properties
JivePoll Class Reference

#import <JivePoll.h>

Inherits JiveStructuredOutcomeContent.

Properties

NSArray * categories
 Categories associated with this object. Places define the list of possible categories. String[].
 
NSArray * options
 The options available to be voted on for this poll. String[].
 
NSArray * users
 The list of users that can see the content. On create or update, provide a list of Person URIs or Person entities. On get, returns a list of Person entities. This value is used only when visibility is people. NSString[] or JivePerson[].
 
NSString * visibility
 The visibility policy for this discussion. Valid values are:
 
NSNumber * voteCount
 The current number of votes on this poll.
 
NSArray * votes
 The options voted by the user making the request. String[].
 
NSDictionary * optionsImages
 The images associated with the poll options.option : JiveImage} where option is a value from options[].
 
(BOOL) - canVote
 Whether the user making the request can vote on this poll.
 
(BOOL) - hasVoted
 Whether the user making the request has voted on this poll. More...
 

Detailed Description

Method Documentation

- (BOOL) hasVoted

Whether the user making the request has voted on this poll.

Whether the user has voted on this poll.