Enum Class NoticeType

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

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

    • SUB

      public static final NoticeType SUB
    • RESUB

      public static final NoticeType RESUB
    • SUB_GIFT

      public static final NoticeType SUB_GIFT
    • COMMUNITY_SUB_GIFT

      public static final NoticeType COMMUNITY_SUB_GIFT
    • GIFT_PAID_UPGRADE

      public static final NoticeType GIFT_PAID_UPGRADE
    • PRIME_PAID_UPGRADE

      public static final NoticeType PRIME_PAID_UPGRADE
    • RAID

      public static final NoticeType RAID
    • UNRAID

      public static final NoticeType UNRAID
    • PAY_IT_FORWARD

      public static final NoticeType PAY_IT_FORWARD
    • ANNOUNCEMENT

      public static final NoticeType ANNOUNCEMENT
    • BITS_BADGE_TIER

      public static final NoticeType BITS_BADGE_TIER
    • CHARITY_DONATION

      public static final NoticeType CHARITY_DONATION
    • UNKNOWN

      public static final NoticeType UNKNOWN
  • Method Details

    • values

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