Class ChannelPredictionEndEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelPredictionEvent
com.github.twitch4j.eventsub.events.ChannelPredictionEndEvent
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.events.ChannelPredictionEvent
getOutcomes, getPredictionId, getStartedAt, getTitle
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
ChannelPredictionEndEvent
public ChannelPredictionEndEvent()
-
-
Method Details
-
getWinningOutcome
- Returns:
- the winning PredictionOutcome, in an optional wrapper
-
getWinningOutcomeId
ID of the winning outcome. -
getStatus
The status of the Channel Points Prediction. Valid values are resolved and canceled. -
getEndedAt
The time the Channel Points Prediction ended. -
toString
- Overrides:
toString
in classChannelPredictionEvent
-
equals
- Overrides:
equals
in classChannelPredictionEvent
-
canEqual
- Overrides:
canEqual
in classChannelPredictionEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChannelPredictionEvent
-