Enum DesktopIconCountDisplay

java.lang.Object
java.lang.Enum<DesktopIconCountDisplay>
com.github.jamesnetherton.zulip.client.api.user.DesktopIconCountDisplay
All Implemented Interfaces:
Serializable, Comparable<DesktopIconCountDisplay>

public enum DesktopIconCountDisplay extends Enum<DesktopIconCountDisplay>
Defines desktop icon count display settings.
  • Enum Constant Details

    • ALL_UNREADS

      public static final DesktopIconCountDisplay ALL_UNREADS
      Display count of all unread messages.
    • PRIVATE_MESSAGES_MENTIONS_AND_FOLLOWED_TOPICS

      public static final DesktopIconCountDisplay PRIVATE_MESSAGES_MENTIONS_AND_FOLLOWED_TOPICS
      Display count of all unread private messages, mentions and followed topics.
    • PRIVATE_MESSAGES_AND_MENTIONS

      public static final DesktopIconCountDisplay PRIVATE_MESSAGES_AND_MENTIONS
      Display count of all unread private messages and mentions.
    • NONE

      public static final DesktopIconCountDisplay NONE
      Disable displaying a count.
    • UNKNOWN

      public static final DesktopIconCountDisplay UNKNOWN
      An unknown icon count display value. This usually indicates an error in the response from Zulip.
  • Method Details

    • values

      public static DesktopIconCountDisplay[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DesktopIconCountDisplay valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getSetting

      public int getSetting()
    • fromInt

      public static DesktopIconCountDisplay fromInt(int setting)