Class HostOnEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.HostOnEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
@Deprecated
@ScheduledForRemoval(inVersion="2.0.0")
public final class HostOnEvent
extends AbstractChannelEvent
Deprecated.
Twitch is removing host mode on October 3, 2022
This event gets called when the user starts hosting someone.
-
Constructor Summary
ConstructorDescriptionHostOnEvent
(EventChannel channel, EventChannel targetChannel) Deprecated.Event Constructor -
Method Summary
Methods inherited from class com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unban
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
-
HostOnEvent
Deprecated.Event Constructor- Parameters:
channel
- The channel that this event originates from.targetChannel
- The channel that was hosted.
-
-
Method Details
-
toString
Deprecated.- Overrides:
toString
in classAbstractChannelEvent
-
getTargetChannel
Deprecated.Event Target ChatChannel -
equals
Deprecated.- Overrides:
equals
in classAbstractChannelEvent
-
canEqual
Deprecated.- Overrides:
canEqual
in classAbstractChannelEvent
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classAbstractChannelEvent
-