Enum Class EventSubSubscriptionStatus

java.lang.Object
java.lang.Enum<EventSubSubscriptionStatus>
com.github.twitch4j.eventsub.EventSubSubscriptionStatus
All Implemented Interfaces:
Serializable, Comparable<EventSubSubscriptionStatus>, Constable

public enum EventSubSubscriptionStatus extends Enum<EventSubSubscriptionStatus>
  • Enum Constant Details

    • ENABLED

      public static final EventSubSubscriptionStatus ENABLED
      Designates that the subscription is in an operable state and is valid.
    • WEBHOOK_CALLBACK_VERIFICATION_PENDING

      public static final EventSubSubscriptionStatus WEBHOOK_CALLBACK_VERIFICATION_PENDING
      Webhook is pending verification of the callback specified in the subscription creation request.
    • WEBHOOK_CALLBACK_VERIFICATION_FAILED

      public static final EventSubSubscriptionStatus WEBHOOK_CALLBACK_VERIFICATION_FAILED
      Webhook failed verification of the callback specified in the subscription creation request.
    • NOTIFICATION_FAILURES_EXCEEDED

      public static final EventSubSubscriptionStatus NOTIFICATION_FAILURES_EXCEEDED
      Notification delivery failure rate was too high.
    • AUTHORIZATION_REVOKED

      public static final EventSubSubscriptionStatus AUTHORIZATION_REVOKED
      Authorization for user(s) in the condition was revoked.
    • MODERATOR_REMOVED

      public static final EventSubSubscriptionStatus MODERATOR_REMOVED
      The moderator that authorized the subscription is no longer one of the broadcaster’s moderators.
    • USER_REMOVED

      public static final EventSubSubscriptionStatus USER_REMOVED
      A user in the condition of the subscription was removed.
    • VERSION_REMOVED

      public static final EventSubSubscriptionStatus VERSION_REMOVED
      Twitch revoked your subscription because the subscribed to subscription type and version is no longer supported.
    • BETA_MAINTENANCE

      public static final EventSubSubscriptionStatus BETA_MAINTENANCE
      A beta eventsub subscription is temporarily not enabled due to maintenance.
    • CHAT_USER_BANNED

      public static final EventSubSubscriptionStatus CHAT_USER_BANNED
      The user specified in the Condition object was banned from the broadcaster's chat.
    • WEBSOCKET_CONNECTION_UNUSED

      public static final EventSubSubscriptionStatus WEBSOCKET_CONNECTION_UNUSED
      When you connect to the server, you must create a subscription within 10 seconds or the connection is closed.

      Note: The time limit is subject to change.

    • WEBSOCKET_DISCONNECTED

      public static final EventSubSubscriptionStatus WEBSOCKET_DISCONNECTED
      The client closed the connection.
    • WEBSOCKET_FAILED_PING_PONG

      public static final EventSubSubscriptionStatus WEBSOCKET_FAILED_PING_PONG
      You must respond to ping messages with a pong message.
    • WEBSOCKET_FAILED_TO_RECONNECT

      public static final EventSubSubscriptionStatus WEBSOCKET_FAILED_TO_RECONNECT
      The client failed to reconnect to the Twitch WebSocket server within the required time after a Reconnect Message.
    • WEBSOCKET_INTERNAL_ERROR

      public static final EventSubSubscriptionStatus WEBSOCKET_INTERNAL_ERROR
      Indicates a problem with the server (similar to an HTTP 500 status code).
    • WEBSOCKET_NETWORK_ERROR

      public static final EventSubSubscriptionStatus WEBSOCKET_NETWORK_ERROR
      Transient network error.
    • WEBSOCKET_NETWORK_TIMEOUT

      public static final EventSubSubscriptionStatus WEBSOCKET_NETWORK_TIMEOUT
      Transient network timeout.
    • WEBSOCKET_RECEIVED_INBOUND_TRAFFIC

      public static final EventSubSubscriptionStatus WEBSOCKET_RECEIVED_INBOUND_TRAFFIC
      Sending outgoing messages to the server is prohibited, except for pong messages.
  • Method Details

    • values

      public static EventSubSubscriptionStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventSubSubscriptionStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EventSubSubscriptionStatus>