Class VideoPoll

All Implemented Interfaces:
Serializable

public class VideoPoll
extends FacebookType
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getPollOptions

    • addPollOption

      public boolean addPollOption​(VideoPoll.VideoPollOption option)
    • removePollOption

      public boolean removePollOption​(VideoPoll.VideoPollOption option)
    • 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

      public void setCloseAfterVoting​(Boolean closeAfterVoting)
      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

      public void setDefaultOpen​(Boolean defaultOpen)
      True if the poll should be open by default, false if it starts in a closed state
    • getQuestion

      public String getQuestion()
      The poll question text
      Returns:
      The poll question text
    • setQuestion

      public void setQuestion​(String question)
      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

      public void setShowGradient​(Boolean showGradient)
      True if this is a Live poll and voting is open and there is a background gradient to highlight the voting card 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

      public void setShowResults​(Boolean showResults)
      True if this is a Live poll and voting is open and the results show after voting
    • getStatus

      public String getStatus()
      Live poll status
      Returns:
      Live poll status
    • setStatus

      public void setStatus​(String status)
      Live poll status