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
ConstructorsConstructorDescriptionChannelGoLiveEvent(EventChannel channel, Stream stream) Creates a newChannelGoLiveEventinstance. -
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 newChannelGoLiveEventinstance.- Parameters:
channel- The channel that went livestream- The stream data
-
-
Method Details
-
getChannel
The channel that went live -
getStream
The stream data -
toString
- Overrides:
toStringin classTwitchEvent
-
equals
- Overrides:
equalsin classTwitchEvent
-
canEqual
- Overrides:
canEqualin classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classTwitchEvent
-