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

public final class ChannelChangeTitleEvent
extends com.github.twitch4j.common.events.TwitchEvent
This event gets called when a channel changes the title
  • Constructor Summary

    Constructors
    Constructor Description
    ChannelChangeTitleEvent​(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.helix.domain.Stream stream)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    com.github.twitch4j.common.events.domain.EventChannel getChannel()
    The channel that changed their title
    com.github.twitch4j.helix.domain.Stream getStream()
    The stream data
    java.lang.String getTitle()
    The new stream title
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class com.github.philippheuer.events4j.core.domain.Event

    getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ChannelChangeTitleEvent

      public ChannelChangeTitleEvent​(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.helix.domain.Stream stream)
  • Method Details

    • getTitle

      public java.lang.String getTitle()
      The new stream title
      Returns:
      current title for the stream
    • getChannel

      public com.github.twitch4j.common.events.domain.EventChannel getChannel()
      The channel that changed their title
    • getStream

      public com.github.twitch4j.helix.domain.Stream getStream()
      The stream data
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class com.github.twitch4j.common.events.TwitchEvent
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class com.github.twitch4j.common.events.TwitchEvent
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
      Overrides:
      canEqual in class com.github.twitch4j.common.events.TwitchEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.github.twitch4j.common.events.TwitchEvent