Enum Class ChannelStateEvent.ChannelState
java.lang.Object
java.lang.Enum<ChannelStateEvent.ChannelState>
com.github.twitch4j.chat.events.channel.ChannelStateEvent.ChannelState
- All Implemented Interfaces:
Serializable
,Comparable<ChannelStateEvent.ChannelState>
,Constable
- Enclosing class:
- ChannelStateEvent
The possible chat room settings that can be configured.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.has not been sent since 2019-03-08.Emote only chat configuration; determines whether users can only send Twitch emotes in chat.Followers only chat configuration; In minutes corresponding to how long a user must be following in order to chat.Unique chat configuration (formerly Robot9000); determines whether a user can repeat a previous message of theirs.Deprecated.Twitch replaced this feature with the "user introduction" featureSlow mode chat configuration; In seconds corresponding to minimum delay between an individual user's messages.Subscribers-only chat configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ChannelStateEvent.ChannelState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BROADCAST_LANG
Deprecated.has not been sent since 2019-03-08.The language of the stream. -
EMOTE
Emote only chat configuration; determines whether users can only send Twitch emotes in chat. -
FOLLOWERS
Followers only chat configuration; In minutes corresponding to how long a user must be following in order to chat. Negative values indicate this setting is disabled. -
R9K
Unique chat configuration (formerly Robot9000); determines whether a user can repeat a previous message of theirs. -
RITUALS
Deprecated.Twitch replaced this feature with the "user introduction" featureDetermines whether rituals are enabled on the channel.- See Also:
-
SLOW
Slow mode chat configuration; In seconds corresponding to minimum delay between an individual user's messages. -
SUBSCRIBERS
Subscribers-only chat configuration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-