Enum Class PowerUpType

java.lang.Object
java.lang.Enum<PowerUpType>
com.github.twitch4j.eventsub.domain.PowerUpType
All Implemented Interfaces:
Serializable, Comparable<PowerUpType>, Constable

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

    • MESSAGE_EFFECT

      public static final PowerUpType MESSAGE_EFFECT
      Message Effects was redeemed.
    • CELEBRATION

      public static final PowerUpType CELEBRATION
      On-Screen Celebration was redeemed.
    • GIGANTIFY_AN_EMOTE

      public static final PowerUpType GIGANTIFY_AN_EMOTE
      Gigantify an Emote was redeemed.
    • UNKNOWN

      public static final PowerUpType UNKNOWN
      An unrecognized Power-up type; please report to our issue tracker.
  • Method Details

    • values

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