Package com.github.twitch4j.common.enums
Enum CommandPermission
java.lang.Object
java.lang.Enum<CommandPermission>
com.github.twitch4j.common.enums.CommandPermission
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CommandPermission>,java.lang.constant.Constable
public enum CommandPermission extends java.lang.Enum<CommandPermission>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description BITS_CHEERERCheered bitsBROADCASTERBroadcasterCURRENT_HYPE_TRAIN_CONDUCTORA conductor of the latest hype trainEVERYONEEveryoneFORMER_HYPE_TRAIN_CONDUCTORWas a conductor of the previous hype trainFOUNDERFounder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner)MODERATORChannel ModeratorOWNERBot OwnerPARTNERTwitch PartnersPREDICTIONS_BLUEParticipated in the most recent predictions event for the blue/first optionPREDICTIONS_PINKParticipated in the most recent predictions event for the pink/second optionPRIME_TURBOTwitch Prime/Twitch Turbo UserSUBGIFTERGifted a subSUBSCRIBERSubscriber (any Tier)TWITCHSTAFFTwitch StaffVIPVIP -
Method Summary
Modifier and Type Method Description static CommandPermissionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CommandPermission[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
EVERYONE
Everyone -
PRIME_TURBO
Twitch Prime/Twitch Turbo User -
PARTNER
Twitch Partners -
SUBSCRIBER
Subscriber (any Tier) -
FOUNDER
Founder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner) -
SUBGIFTER
Gifted a sub -
BITS_CHEERER
Cheered bits -
FORMER_HYPE_TRAIN_CONDUCTOR
Was a conductor of the previous hype train -
CURRENT_HYPE_TRAIN_CONDUCTOR
A conductor of the latest hype train -
PREDICTIONS_BLUE
Participated in the most recent predictions event for the blue/first option -
PREDICTIONS_PINK
Participated in the most recent predictions event for the pink/second option -
VIP
VIP -
TWITCHSTAFF
Twitch Staff -
MODERATOR
Channel Moderator -
BROADCASTER
Broadcaster -
OWNER
Bot Owner
-
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-