Enum Class PredictionEnd.Status

java.lang.Object
java.lang.Enum<PredictionEnd.Status>
com.gmt2001.twitch.eventsub.subscriptions.channel.prediction.PredictionEnd.Status
All Implemented Interfaces:
Serializable, Comparable<PredictionEnd.Status>, Constable
Enclosing class:
PredictionEnd

public static enum PredictionEnd.Status extends Enum<PredictionEnd.Status>
The status of the Channel Points Prediction.
  • Enum Constant Details

    • RESOLVED

      public static final PredictionEnd.Status RESOLVED
      The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome.
    • CANCELED

      public static final PredictionEnd.Status CANCELED
      The broadcaster is canceling the prediction and sending refunds to the participants
  • Method Details

    • values

      public static PredictionEnd.Status[] 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 PredictionEnd.Status 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