Class HypeTrainBeginV2Event
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.HypeTrainV2Event
com.github.twitch4j.eventsub.events.HypeTrainBeginV2Event
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe all-time high level this type of Hype Train has reached for this broadcaster.intThe all-time high total this type of Hype Train has reached for this broadcaster.The time at which the hype train expires.getGoal()The number of points required to reach the next level.The number of points contributed to the hype train at the current level.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.HypeTrainV2Event
getSharedTrainParticipants, getType, isGoldenKappaTrain, isSharedTrainMethods inherited from class com.github.twitch4j.eventsub.events.HypeTrainEvent
getId, getLevel, getStartedAt, getTopContributions, getTotalMethods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
HypeTrainBeginV2Event
public HypeTrainBeginV2Event()
-
-
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. -
getExpiresAt
The time at which the hype train expires. The expiration is extended when the hype train reaches a new level. -
getAllTimeHighLevel
public int getAllTimeHighLevel()The all-time high level this type of Hype Train has reached for this broadcaster. -
getAllTimeHighTotal
public int getAllTimeHighTotal()The all-time high total this type of Hype Train has reached for this broadcaster. -
toString
- Overrides:
toStringin classHypeTrainV2Event
-
equals
- Overrides:
equalsin classHypeTrainV2Event
-
canEqual
- Overrides:
canEqualin classHypeTrainV2Event
-
hashCode
public int hashCode()- Overrides:
hashCodein classHypeTrainV2Event
-