Class SubscribersOnlyEvent
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.SubscribersOnlyEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public final class SubscribersOnlyEvent extends ChannelStatesEvent
Subscribers Only State Event
-
Constructor Summary
Constructors Constructor Description SubscribersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, boolean active)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
-
SubscribersOnlyEvent
public SubscribersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, boolean active)Constructor- Parameters:
channel- ChatChannelactive- State active?
-
-
Method Details
-
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
-