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
ConstructorDescriptionEventSocketSubscriptionSuccessEvent
(EventSubSubscription subscription, TwitchEventSocket connection) Creates a newEventSocketSubscriptionSuccessEvent
instance. -
Method Summary
-
Constructor Details
-
EventSocketSubscriptionSuccessEvent
public EventSocketSubscriptionSuccessEvent(EventSubSubscription subscription, TwitchEventSocket connection) Creates a newEventSocketSubscriptionSuccessEvent
instance.- 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
-