Class HypeTrainBeginEvent
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.HypeTrainBeginEvent
-
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
-
HypeTrainBeginEvent
public HypeTrainBeginEvent()
-
-
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
-