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_CHEERER
    Cheered bits
    BROADCASTER
    Broadcaster
    CURRENT_HYPE_TRAIN_CONDUCTOR
    A conductor of the latest hype train
    EVERYONE
    Everyone
    FORMER_HYPE_TRAIN_CONDUCTOR
    Was a conductor of the previous hype train
    FOUNDER
    Founder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner)
    MODERATOR
    Channel Moderator
    OWNER
    Bot Owner
    PARTNER
    Twitch Partners
    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
    PRIME_TURBO
    Twitch Prime/Twitch Turbo User
    SUBGIFTER
    Gifted a sub
    SUBSCRIBER
    Subscriber (any Tier)
    TWITCHSTAFF
    Twitch Staff
    VIP
    VIP
  • Method Summary

    Modifier and Type Method Description
    static CommandPermission valueOf​(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, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 the blue/first option
    • PREDICTIONS_PINK

      public static final CommandPermission PREDICTIONS_PINK
      Participated in the most recent predictions event for the pink/second option
    • 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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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