Class StreamOnlineEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.StreamOnlineEvent
public class StreamOnlineEvent extends EventSubChannelEvent
-
Constructor Summary
Constructors Constructor Description StreamOnlineEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetId()The id of the stream.java.time.InstantgetStartedAt()The timestamp at which the stream went online at.StreamTypegetType()The stream type.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
StreamOnlineEvent
public StreamOnlineEvent()
-
-
Method Details
-
getId
public java.lang.String getId()The id of the stream. -
getType
The stream type. -
getStartedAt
public java.time.Instant getStartedAt()The timestamp at which the stream went online at. -
toString
public java.lang.String toString()- Overrides:
toStringin classEventSubChannelEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classEventSubChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubChannelEvent
-