Enum DesktopIconCountDisplay
java.lang.Object
java.lang.Enum<DesktopIconCountDisplay>
com.github.jamesnetherton.zulip.client.api.user.DesktopIconCountDisplay
- All Implemented Interfaces:
Serializable
,Comparable<DesktopIconCountDisplay>
Defines desktop icon count display settings.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplay count of all unread messages.Disable displaying a count.Display count of all unread private messages and mentions.Display count of all unread private messages, mentions and followed topics.An unknown icon count display value. -
Method Summary
Modifier and TypeMethodDescriptionstatic DesktopIconCountDisplay
fromInt
(int setting) int
static DesktopIconCountDisplay
Returns the enum constant of this type with the specified name.static DesktopIconCountDisplay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL_UNREADS
Display count of all unread messages. -
PRIVATE_MESSAGES_MENTIONS_AND_FOLLOWED_TOPICS
Display count of all unread private messages, mentions and followed topics. -
PRIVATE_MESSAGES_AND_MENTIONS
Display count of all unread private messages and mentions. -
NONE
Disable displaying a count. -
UNKNOWN
An unknown icon count display value. This usually indicates an error in the response from Zulip.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getSetting
public int getSetting() -
fromInt
-