Enum Class AutomaticReward.Type

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

public static enum AutomaticReward.Type extends Enum<AutomaticReward.Type>
  • Enum Constant Details

    • SINGLE_MESSAGE_BYPASS_SUB_MODE

      public static final AutomaticReward.Type SINGLE_MESSAGE_BYPASS_SUB_MODE
      "Send a Message in Sub-Only Mode" was redeemed.
    • SEND_HIGHLIGHTED_MESSAGE

      public static final AutomaticReward.Type SEND_HIGHLIGHTED_MESSAGE
      "Highlight My Message" was redeemed.
    • RANDOM_SUB_EMOTE_UNLOCK

      public static final AutomaticReward.Type RANDOM_SUB_EMOTE_UNLOCK
      "Unlock a Random Sub Emote" was redeemed.
    • CHOSEN_SUB_EMOTE_UNLOCK

      public static final AutomaticReward.Type CHOSEN_SUB_EMOTE_UNLOCK
      "Choose an Emote to Unlock" was redeemed.
    • CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK

      public static final AutomaticReward.Type CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK
      "Modify a Single Emote" was redeemed.
    • MESSAGE_EFFECT

      public static final AutomaticReward.Type MESSAGE_EFFECT
      Message Effects was redeemed.
    • GIGANTIFY_AN_EMOTE

      public static final AutomaticReward.Type GIGANTIFY_AN_EMOTE
      Gigantify an Emote was redeemed.
    • CELEBRATION

      public static final AutomaticReward.Type CELEBRATION
      On-Screen Celebration was redeemed.
    • OTHER

      public static final AutomaticReward.Type OTHER
      An unrecognized automatic reward type; please report to our issue tracker.
  • Method Details

    • values

      public static AutomaticReward.Type[] 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 AutomaticReward.Type 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