Class HypeTrainProgressEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.HypeTrainEvent
com.github.twitch4j.eventsub.events.HypeTrainProgressEvent
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.events.HypeTrainEvent
getLevel, getStartedAt, getTopContributions, getTotal
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
HypeTrainProgressEvent
public HypeTrainProgressEvent()
-
-
Method Details
-
getProgress
The number of points contributed to the hype train at the current level. -
getGoal
The number of points required to reach the next level. -
getLastContribution
The most recent contribution. -
getExpiresAt
The time at which the hype train expires. The expiration is extended when the hype train reaches a new level. -
toString
- Overrides:
toString
in classHypeTrainEvent
-
equals
- Overrides:
equals
in classHypeTrainEvent
-
canEqual
- Overrides:
canEqual
in classHypeTrainEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHypeTrainEvent
-