Class FollowersOnlyEvent
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.FollowersOnlyEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public final class FollowersOnlyEvent extends ChannelStatesEvent
Followers Only State Event
-
Constructor Summary
Constructors Constructor Description FollowersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time)FollowersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time, java.util.concurrent.TimeUnit timeUnit) -
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
-
FollowersOnlyEvent
public FollowersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time, java.util.concurrent.TimeUnit timeUnit) -
FollowersOnlyEvent
public FollowersOnlyEvent(com.github.twitch4j.common.events.domain.EventChannel channel, long time)
-
-
Method Details
-
getTime
public long getTime(java.util.concurrent.TimeUnit timeUnit) -
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
-