Enum-Klasse NoticeType

java.lang.Object
java.lang.Enum<NoticeType>
com.github.twitch4j.eventsub.domain.chat.NoticeType
Alle implementierten Schnittstellen:
Serializable, Comparable<NoticeType>, Constable

public enum NoticeType extends Enum<NoticeType>
  • Enum-Konstanten - 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
  • Methodendetails

    • values

      public static NoticeType[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static NoticeType valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird