Class StreamsTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<StreamList>
com.github.twitch4j.helix.webhooks.topics.StreamsTopic
public class StreamsTopic extends TwitchWebhookTopic<StreamList>
Notifies when a stream changes; e.g., stream goes online or offline, the stream title changes, or the game changes.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPATH -
Constructor Summary
Constructors Constructor Description StreamsTopic(@NonNull java.lang.String userId)Notifies when a stream changes; e.g., stream goes online or offline, the stream title changes, or the game changes. -
Method Summary
Modifier and Type Method Description java.lang.StringgetChannelId()Methods inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
canEqual, equals, fromUrl, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
PATH
public static final java.lang.String PATH- See Also:
- Constant Field Values
-
-
Constructor Details
-
StreamsTopic
public StreamsTopic(@NonNull @NonNull java.lang.String userId)Notifies when a stream changes; e.g., stream goes online or offline, the stream title changes, or the game changes.- Parameters:
userId- Specifies the user whose stream is monitored.
-
-
Method Details
-
getChannelId
public java.lang.String getChannelId()- Returns:
- The user whose stream is monitored.
-