Package com.github.twitch4j.eventsub
Enum Class EventSubSubscriptionStatus
- All Implemented Interfaces:
Serializable
,Comparable<EventSubSubscriptionStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAuthorization for user(s) in the condition was revoked.A beta eventsub subscription is temporarily not enabled due to maintenance.The user specified in the Condition object was banned from the broadcaster's chat.Designates that the subscription is in an operable state and is valid.The moderator that authorized the subscription is no longer one of the broadcaster’s moderators.Notification delivery failure rate was too high.A user in the condition of the subscription was removed.Twitch revoked your subscription because the subscribed to subscription type and version is no longer supported.Webhook failed verification of the callback specified in the subscription creation request.Webhook is pending verification of the callback specified in the subscription creation request.When you connect to the server, you must create a subscription within 10 seconds or the connection is closed.The client closed the connection.You must respond to ping messages with a pong message.The client failed to reconnect to the Twitch WebSocket server within the required time after a Reconnect Message.Indicates a problem with the server (similar to an HTTP 500 status code).Transient network error.Transient network timeout.Sending outgoing messages to the server is prohibited, except for pong messages. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static EventSubSubscriptionStatus
Returns the enum constant of this class with the specified name.static EventSubSubscriptionStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
Designates that the subscription is in an operable state and is valid. -
WEBHOOK_CALLBACK_VERIFICATION_PENDING
Webhook is pending verification of the callback specified in the subscription creation request. -
WEBHOOK_CALLBACK_VERIFICATION_FAILED
Webhook failed verification of the callback specified in the subscription creation request. -
NOTIFICATION_FAILURES_EXCEEDED
Notification delivery failure rate was too high. -
AUTHORIZATION_REVOKED
Authorization for user(s) in the condition was revoked. -
MODERATOR_REMOVED
The moderator that authorized the subscription is no longer one of the broadcaster’s moderators. -
USER_REMOVED
A user in the condition of the subscription was removed. -
VERSION_REMOVED
Twitch revoked your subscription because the subscribed to subscription type and version is no longer supported. -
BETA_MAINTENANCE
A beta eventsub subscription is temporarily not enabled due to maintenance. -
CHAT_USER_BANNED
The user specified in the Condition object was banned from the broadcaster's chat. -
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
The client closed the connection. -
WEBSOCKET_FAILED_PING_PONG
You must respond to ping messages with a pong message. -
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
Indicates a problem with the server (similar to an HTTP 500 status code). -
WEBSOCKET_NETWORK_ERROR
Transient network error. -
WEBSOCKET_NETWORK_TIMEOUT
Transient network timeout. -
WEBSOCKET_RECEIVED_INBOUND_TRAFFIC
Sending outgoing messages to the server is prohibited, except for pong messages.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<EventSubSubscriptionStatus>
-