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.String PATH  
  • 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.String getChannelId()  

    Methods inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic

    canEqual, equals, fromUrl, getType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • 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.