Class ChannelSearchResult

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

public class ChannelSearchResult
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ChannelSearchResult()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBroadcasterLanguage()
    Broadcaster Language field from the Channels service
    java.lang.String getBroadcasterLogin()
    Login of the broadcaster.
    @NonNull java.lang.String getDisplayName()
    Display name corresponding to the channel
    java.lang.String getGameId()
    ID of the game being played
    java.lang.String getGameName()
    Name of the game being played on the stream.
    @NonNull java.lang.String getId()
    Channel ID
    java.lang.Boolean getIsLive()
    Live status
    java.time.Instant getStartedAt()
    Timestamp of when the stream started
    java.util.List<java.lang.String> getTagsIds()
    Shows tag IDs that apply to the stream (live only)
    java.lang.String getThumbnailUrl()
    Thumbnail URL of the stream
    java.lang.String getTitle()
    Channel title
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • ChannelSearchResult

      public ChannelSearchResult()
  • Method Details

    • getId

      @NonNull public @NonNull java.lang.String getId()
      Channel ID
    • getBroadcasterLogin

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

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

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

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

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

      public java.lang.Boolean getIsLive()
      Live status
    • getTagsIds

      public java.util.List<java.lang.String> getTagsIds()
      Shows tag IDs that apply to the stream (live only)

      Note: Category Tags are not returned

      See Also:
      Tag types
    • getThumbnailUrl

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

      public java.lang.String getTitle()
      Channel title
    • getStartedAt

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

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object