Package tv.phantombot.twitch.api
Enum Class Helix.PredictionStatus
- All Implemented Interfaces:
Serializable
,Comparable<Helix.PredictionStatus>
,Constable
- Enclosing class:
- Helix
The status to set the prediction to for
Helix.endPredictionAsync(String, PredictionStatus, String)
)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe broadcaster is canceling the prediction and sending refunds to the participants.The broadcaster is locking the prediction, which means viewers may no longer make predictions.The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome. -
Method Summary
Modifier and TypeMethodDescriptionstatic Helix.PredictionStatus
Returns the enum constant of this class with the specified name.static Helix.PredictionStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCKED
The broadcaster is locking the prediction, which means viewers may no longer make predictions. -
CANCELED
The broadcaster is canceling the prediction and sending refunds to the participants. -
RESOLVED
The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome.
-
-
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
-