Package com.github.twitch4j.common.enums
Enum Class TwitchLimitType
- All Implemented Interfaces:
Serializable
,Comparable<TwitchLimitType>
,Constable
The types of rate-limits imposed by Twitch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionHow fast authentication attempts can be issued over IRC.How fast channel join attempts can be issued over IRC.How fast messages can be issued over IRC.How fast private messages can be issued over IRC.How fast Check AutoMod Status can be called per channel via Helix. -
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the related bandwidth slot in a bucket for smoother replacement.static TwitchLimitType
Returns the enum constant of this class with the specified name.static TwitchLimitType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT_AUTH_LIMIT
How fast authentication attempts can be issued over IRC. -
CHAT_JOIN_LIMIT
How fast channel join attempts can be issued over IRC. -
CHAT_MESSAGE_LIMIT
How fast messages can be issued over IRC. -
CHAT_WHISPER_LIMIT
How fast private messages can be issued over IRC. -
HELIX_AUTOMOD_STATUS_LIMIT
How fast Check AutoMod Status can be called per channel via Helix.- See Also:
-
-
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
-
getBandwidthId
The identifier for the related bandwidth slot in a bucket for smoother replacement.
-