Package com.github.twitch4j.events
Class ChannelGoLiveEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.events.ChannelGoLiveEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
This event gets called when a channel goes live
-
Constructor Summary
ConstructorDescriptionChannelGoLiveEvent
(EventChannel channel, Stream stream) Creates a newChannelGoLiveEvent
instance. -
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
ChannelGoLiveEvent
Creates a newChannelGoLiveEvent
instance.- Parameters:
channel
- The channel that went livestream
- The stream data
-
-
Method Details
-
getChannel
The channel that went live -
getStream
The stream data -
toString
- Overrides:
toString
in classTwitchEvent
-
equals
- Overrides:
equals
in classTwitchEvent
-
canEqual
- Overrides:
canEqual
in classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTwitchEvent
-