Package com.github.twitch4j.eventsub
Enum-Klasse EventSubSubscriptionStatus
- Alle implementierten Schnittstellen:
Serializable,Comparable<EventSubSubscriptionStatus>,Constable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungAuthorization 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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungtoString()static EventSubSubscriptionStatusGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static EventSubSubscriptionStatus[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - 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.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-
toString
- Setzt außer Kraft:
toStringin KlasseEnum<EventSubSubscriptionStatus>
-