Class ChannelSearchResult

java.lang.Object
com.github.twitch4j.helix.domain.ChannelSearchResult

public class ChannelSearchResult extends Object
  • Constructor Details

    • ChannelSearchResult

      public ChannelSearchResult()
  • Method Details

    • getId

      @NonNull public @NonNull String getId()
      Channel ID
    • getBroadcasterLogin

      public String getBroadcasterLogin()
      Login of the broadcaster.
    • getDisplayName

      @NonNull public @NonNull String getDisplayName()
      Display name corresponding to the channel
    • getBroadcasterLanguage

      public String getBroadcasterLanguage()
      Broadcaster Language field from the Channels service
    • getGameId

      public String getGameId()
      ID of the game being played
    • getGameName

      public String getGameName()
      Name of the game being played on the stream.
    • getIsLive

      public Boolean getIsLive()
      Live status
    • getTagsIds

      @Deprecated @Nullable public @Nullable List<String> getTagsIds()
      Deprecated.
      Twitch is deprecating this field and will stop providing IDs in 2023 (Twitch will communicate the specific date in early 2023) in favor of getTags()
      Shows tag IDs that apply to the stream (live only)

      Note: Category Tags are not returned

      See Also:
    • getTags

      public List<String> getTags()
      The tags applied to the channel.

      Note: Unlike getTagsIds(), these tags are returned for offline channels

    • getThumbnailUrl

      public String getThumbnailUrl()
      Thumbnail URL of the stream
    • getTitle

      public String getTitle()
      Channel title
    • getStartedAt

      public Instant getStartedAt()
      Timestamp of when the stream started
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object