Class EnclosedDataEvent<T>
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EnclosedDataEvent<T>
-
Constructor Summary
ConstructorDescriptionEnclosedDataEvent
(String id, T data) Creates a newEnclosedDataEvent
instance. -
Method Summary
-
Constructor Details
-
EnclosedDataEvent
public EnclosedDataEvent() -
EnclosedDataEvent
Creates a newEnclosedDataEvent
instance.- Parameters:
id
- Individual event ID, as assigned by EventSub. Use this for de-duplicating messages.data
- The object that contains the event data.
-
-
Method Details
-
getId
Individual event ID, as assigned by EventSub. Use this for de-duplicating messages. -
getData
The object that contains the event data. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-