Class InboundHostEvent

java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.channel.InboundHostEvent
All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

@Unofficial @Deprecated @ScheduledForRemoval(inVersion="2.0.0") public final class InboundHostEvent extends TwitchEvent
Deprecated.
Twitch is removing host mode on October 3, 2022
Fired when the authenticated channel to the TwitchChat instance was hosted by another user.

Not officially documented by Twitch so this could stop working at any time.

  • Constructor Summary

    Constructors
    Constructor
    Description
    InboundHostEvent(String hostTarget, String hosterName)
    Deprecated.
    Creates a new InboundHostEvent instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    Deprecated.
    Display name of the user that just hosted your channel.
    Deprecated.
    Login name of the channel that was hosted (i.e., the user passed in chatAccount).
    int
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class com.github.twitch4j.chat.events.TwitchEvent

    getTwitchChat

    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

    • InboundHostEvent

      public InboundHostEvent(String hostTarget, String hosterName)
      Deprecated.
      Creates a new InboundHostEvent instance.
      Parameters:
      hostTarget - Login name of the channel that was hosted (i.e., the user passed in chatAccount).
      hosterName - Display name of the user that just hosted your channel.
  • Method Details

    • getHostTarget

      public String getHostTarget()
      Deprecated.
      Login name of the channel that was hosted (i.e., the user passed in chatAccount).
    • getHosterName

      public String getHosterName()
      Deprecated.
      Display name of the user that just hosted your channel.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class TwitchEvent
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class TwitchEvent
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class TwitchEvent
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class TwitchEvent