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
The status of the Channel Points Prediction.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PredictionEnd.Status
Returns the enum constant of this class with the specified name.static PredictionEnd.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOLVED
The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome. -
CANCELED
The broadcaster is canceling the prediction and sending refunds to the participants
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-