Class VideoPoll.VideoPollOption

All Implemented Interfaces:
Serializable
Enclosing class:
VideoPoll

public static class VideoPoll.VideoPollOption extends FacebookType
See Also:
  • Constructor Details

  • Method Details

    • getIsCorrect

      True if this answer is considered correct, otherwise false
      Returns:
      True if this answer is considered correct, otherwise false
    • setIsCorrect

      public void setIsCorrect(Boolean isCorrect)
      True if this answer is considered correct, otherwise false
    • getOrder

      public Long getOrder()
      Options appear in increasing numerical order within a poll
      Returns:
      Options appear in increasing numerical order within a poll
    • setOrder

      public void setOrder(Long order)
      Options appear in increasing numerical order within a poll
    • getText

      public String getText()
      Text to display to the user for this option
      Returns:
      Text to display to the user for this option
    • setText

      public void setText(String text)
      Text to display to the user for this option
    • getTotalVotes

      public Long getTotalVotes()
      Total number of votes for this option
      Returns:
      Total number of votes for this option
    • setTotalVotes

      public void setTotalVotes(Long totalVotes)
      Total number of votes for this option