Package com.github.twitch4j.events
Class ChannelChangeTitleEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.events.ChannelChangeTitleEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
This event gets called when a channel changes the title
-
Constructor Summary
ConstructorDescriptionChannelChangeTitleEvent
(EventChannel channel, Stream stream) Creates a newChannelChangeTitleEvent
instance. -
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
ChannelChangeTitleEvent
Creates a newChannelChangeTitleEvent
instance.- Parameters:
channel
- The channel that changed their titlestream
- The stream data
-
-
Method Details
-
getTitle
The new stream title- Returns:
- current title for the stream
-
getChannel
The channel that changed their title -
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
-