Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBroadcasterLanguage()Broadcaster Language field from the Channels servicejava.lang.StringgetBroadcasterLogin()Login of the broadcaster.@NonNull java.lang.StringgetDisplayName()Display name corresponding to the channeljava.lang.StringgetGameId()ID of the game being playedjava.lang.StringgetGameName()Name of the game being played on the stream.@NonNull java.lang.StringgetId()Channel IDjava.lang.BooleangetIsLive()Live statusjava.time.InstantgetStartedAt()Timestamp of when the stream startedjava.util.List<java.lang.String>getTagsIds()Shows tag IDs that apply to the stream (live only)java.lang.StringgetThumbnailUrl()Thumbnail URL of the streamjava.lang.StringgetTitle()Channel titleinthashCode()java.lang.StringtoString()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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-