Enum-Klasse GoalType

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

public enum GoalType extends Enum<GoalType>
The type of goal.
  • Enum-Konstanten - Details

    • FOLLOWERS

      public static final GoalType FOLLOWERS
      The goal is to increase followers.
    • SUBSCRIPTIONS

      public static final GoalType SUBSCRIPTIONS
      The goal is to increase subscriptions. This type shows the net increase or decrease in subscriptions.
    • NEW_SUBSCRIPTIONS

      public static final GoalType NEW_SUBSCRIPTIONS
      The goal is to increase subscriptions. This type shows only the net increase in subscriptions (it does not account for users that stopped subscribing since the goal's inception).
    • SUB_COUNT

      public static final GoalType SUB_COUNT
      The goal is to increase subscriptions. This type shows the net increase or decrease in the number of subscriptions.
    • NEW_SUB_COUNT

      public static final GoalType NEW_SUB_COUNT
      The goal is to increase subscriptions. This type shows only the net increase in the number of subscriptions (it does not account for users that unsubscribed since the goal started).
  • Methodendetails

    • values

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