Package com.github.twitch4j.common.enums
Enum Class CommandPermission
- All Implemented Interfaces:
Serializable
,Comparable<CommandPermission>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArtist on this ChannelCheered bitsBroadcasterA conductor of the latest hype trainEveryoneWas a conductor of the previous hype trainFounder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner)Channel ModeratorEarned for being a part of at least 1 moment on a channelWatching without audio (user-selected)Watching without video (user-selected)Bot OwnerTwitch PartnersParticipated in the most recent predictions event for a blue optionParticipated in the most recent predictions event for a pink optionTwitch Prime/Twitch Turbo UserGifted a subSubscriber (any Tier)Twitch StaffVIP -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandPermission
Returns the enum constant of this class with the specified name.static CommandPermission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
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 a blue optionWarning: when there are three or more prediction choices, they are all blue
-
PREDICTIONS_PINK
Participated in the most recent predictions event for a pink option -
NO_AUDIO
Watching without audio (user-selected) -
NO_VIDEO
Watching without video (user-selected) -
MOMENTS
Earned for being a part of at least 1 moment on a channel -
ARTIST
Artist on this Channel -
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 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
-