Class SlowModeEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.roomstate.ChannelStatesEvent
com.github.twitch4j.chat.events.roomstate.SlowModeEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public final class SlowModeEvent extends ChannelStatesEvent
Slow Mode State Event
-
Constructor Summary
Constructors Constructor Description SlowModeEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time)Constructor -
Method Summary
Methods inherited from class com.github.twitch4j.chat.events.roomstate.ChannelStatesEvent
isActiveMethods inherited from class com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanMethods inherited from class com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatMethods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediatorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SlowModeEvent
public SlowModeEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time)Constructor- Parameters:
channel- ChatChanneltime- seconds
-
-
Method Details
-
getTime
public long getTime()Time in seconds -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classChannelStatesEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classChannelStatesEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classChannelStatesEvent
-
toString
public java.lang.String toString()- Overrides:
toStringin classChannelStatesEvent
-