Class EventSocketSubscriptionSuccessEvent
java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketSubscriptionSuccessEvent
Called when an EventSocket successfully registers a subscription with the Helix API.
-
Constructor Summary
ConstructorsConstructorDescriptionEventSocketSubscriptionSuccessEvent(EventSubSubscription subscription, TwitchEventSocket connection) Creates a newEventSocketSubscriptionSuccessEventinstance. -
Method Summary
-
Constructor Details
-
EventSocketSubscriptionSuccessEvent
public EventSocketSubscriptionSuccessEvent(EventSubSubscription subscription, TwitchEventSocket connection) Creates a newEventSocketSubscriptionSuccessEventinstance.- Parameters:
subscription- The eventsub subscription that was successfully created.connection- The EventSocket connection associated with the subscription.
-
-
Method Details
-
getSubscription
The eventsub subscription that was successfully created. -
getConnection
The EventSocket connection associated with the subscription. -
equals
-
hashCode
public int hashCode() -
toString
-