Class EventSocketSubscriptionSuccessEvent

java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketSubscriptionSuccessEvent

public final class EventSocketSubscriptionSuccessEvent extends Object
Called when an EventSocket successfully registers a subscription with the Helix API.
  • Constructor Details

  • Method Details

    • getSubscription

      public EventSubSubscription getSubscription()
      The eventsub subscription that was successfully created.
    • getConnection

      public TwitchEventSocket getConnection()
      The EventSocket connection associated with the subscription.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object