Package com.restfb.types
Class VideoPoll
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.VideoPoll
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
True if this is a Live poll with open voting and the card hides after votingTrue if the poll should be open by default, false if it starts in a closed stateThe poll question textTrue if this is a Live poll and voting is open and there is a background gradient to highlight the voting cardTrue if this is a Live poll and voting is open and the results show after votingLive poll statusboolean
void
setCloseAfterVoting
(Boolean closeAfterVoting) True if this is a Live poll with open voting and the card hides after votingvoid
setDefaultOpen
(Boolean defaultOpen) True if the poll should be open by default, false if it starts in a closed statevoid
setQuestion
(String question) The poll question textvoid
setShowGradient
(Boolean showGradient) True if this is a Live poll and voting is open and there is a background gradient to highlight the voting cardvoid
setShowResults
(Boolean showResults) True if this is a Live poll and voting is open and the results show after votingvoid
Live poll statusMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
VideoPoll
public VideoPoll()
-
-
Method Details
-
getPollOptions
-
addPollOption
-
removePollOption
-
getCloseAfterVoting
True if this is a Live poll with open voting and the card hides after voting- Returns:
- True if this is a Live poll with open voting and the card hides after voting
-
setCloseAfterVoting
True if this is a Live poll with open voting and the card hides after voting -
getDefaultOpen
True if the poll should be open by default, false if it starts in a closed state- Returns:
- True if the poll should be open by default, false if it starts in a closed state
-
setDefaultOpen
True if the poll should be open by default, false if it starts in a closed state -
getQuestion
The poll question text- Returns:
- The poll question text
-
setQuestion
The poll question text -
getShowGradient
True if this is a Live poll and voting is open and there is a background gradient to highlight the voting card- Returns:
- True if this is a Live poll and voting is open and there is a background gradient to highlight the voting card
-
setShowGradient
True if this is a Live poll and voting is open and there is a background gradient to highlight the voting card -
getShowResults
True if this is a Live poll and voting is open and the results show after voting- Returns:
- True if this is a Live poll and voting is open and the results show after voting
-
setShowResults
True if this is a Live poll and voting is open and the results show after voting -
getStatus
Live poll status- Returns:
- Live poll status
-
setStatus
Live poll status
-