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
Constructors -
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.events.HypeTrainEvent
getLevel, getStartedAt, getTopContributions, getTotal, isGoldenKappaTrainMethods 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:
toStringin classHypeTrainEvent
-
equals
- Overrides:
equalsin classHypeTrainEvent
-
canEqual
- Overrides:
canEqualin classHypeTrainEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classHypeTrainEvent
-