Class ChannelStatesEvent
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
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
- Direct Known Subclasses:
BroadcasterLanguageEvent,EmoteOnlyEvent,FollowersOnlyEvent,Robot9000Event,SlowModeEvent,SubscribersOnlyEvent
public abstract class ChannelStatesEvent extends AbstractChannelEvent
Abstract Channel State Event
-
Constructor Summary
Constructors Constructor Description ChannelStatesEvent(com.github.twitch4j.common.events.domain.EventChannel channel, boolean active) -
Method Summary
Methods 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
-
ChannelStatesEvent
public ChannelStatesEvent(com.github.twitch4j.common.events.domain.EventChannel channel, boolean active)
-
-
Method Details
-
isActive
public boolean isActive() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classAbstractChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classAbstractChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractChannelEvent
-
toString
public java.lang.String toString()- Overrides:
toStringin classAbstractChannelEvent
-