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
ConstructorDescriptionInboundHostEvent
(String hostTarget, String hosterName) Deprecated.Creates a newInboundHostEvent
instance. -
Method Summary
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
-
Constructor Details
-
InboundHostEvent
Deprecated.Creates a newInboundHostEvent
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
Deprecated.Login name of the channel that was hosted (i.e., the user passed in chatAccount). -
getHosterName
Deprecated.Display name of the user that just hosted your channel. -
toString
Deprecated.- Overrides:
toString
in classTwitchEvent
-
equals
Deprecated.- Overrides:
equals
in classTwitchEvent
-
canEqual
Deprecated.- Overrides:
canEqual
in classTwitchEvent
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classTwitchEvent
-