Enum Class CommandPermission

java.lang.Object
java.lang.Enum<CommandPermission>
com.github.twitch4j.common.enums.CommandPermission
All Implemented Interfaces:
Serializable, Comparable<CommandPermission>, Constable

public enum CommandPermission extends Enum<CommandPermission>
  • Enum Constant Details

    • EVERYONE

      public static final CommandPermission EVERYONE
      Everyone
    • PRIME_TURBO

      public static final CommandPermission PRIME_TURBO
      Twitch Prime/Twitch Turbo User
    • PARTNER

      public static final CommandPermission PARTNER
      Twitch Partners
    • SUBSCRIBER

      public static final CommandPermission SUBSCRIBER
      Subscriber (any Tier)
    • FOUNDER

      public static final CommandPermission FOUNDER
      Founder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner)
    • SUBGIFTER

      public static final CommandPermission SUBGIFTER
      Gifted a sub
    • BITS_CHEERER

      public static final CommandPermission BITS_CHEERER
      Cheered bits
    • FORMER_HYPE_TRAIN_CONDUCTOR

      public static final CommandPermission FORMER_HYPE_TRAIN_CONDUCTOR
      Was a conductor of the previous hype train
    • CURRENT_HYPE_TRAIN_CONDUCTOR

      public static final CommandPermission CURRENT_HYPE_TRAIN_CONDUCTOR
      A conductor of the latest hype train
    • PREDICTIONS_BLUE

      public static final CommandPermission PREDICTIONS_BLUE
      Participated in the most recent predictions event for a blue option

      Warning: when there are three or more prediction choices, they are all blue

    • PREDICTIONS_PINK

      public static final CommandPermission PREDICTIONS_PINK
      Participated in the most recent predictions event for a pink option
    • NO_AUDIO

      public static final CommandPermission NO_AUDIO
      Watching without audio (user-selected)
    • NO_VIDEO

      public static final CommandPermission NO_VIDEO
      Watching without video (user-selected)
    • MOMENTS

      public static final CommandPermission MOMENTS
      Earned for being a part of at least 1 moment on a channel
    • ARTIST

      public static final CommandPermission ARTIST
      Artist on this Channel
    • VIP

      public static final CommandPermission VIP
      VIP
    • TWITCHSTAFF

      public static final CommandPermission TWITCHSTAFF
      Twitch Staff
    • MODERATOR

      public static final CommandPermission MODERATOR
      Channel Moderator
    • BROADCASTER

      public static final CommandPermission BROADCASTER
      Broadcaster
    • OWNER

      public static final CommandPermission OWNER
      Bot Owner
  • Method Details

    • values

      public static CommandPermission[] 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

      public static CommandPermission valueOf(String name)
      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 name
      NullPointerException - if the argument is null