Enum Poll.Status

  • All Implemented Interfaces: , kotlin.Comparable

    public enum Poll.Status
    extends Enum<Poll.Status>

    Class representing poll status. A Poll can be one of OPEN, CLOSED, and REMOVED. The client must first check if poll is REMOVED before doing any operation with a poll instance, because if a poll is REMOVED, all api call will return an error.

    since 3.0.171

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Poll.Status.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description

      Removed status. A removed poll's all info is invalid and cannot be used.

      since 3.0.171


      Closed status. A closed poll cannot receive votes and cannot be updated.

      since 3.0.171


      Open status. An open poll can receive votes and be updated.

      since 3.0.171

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait