Package com.github.twitch4j.helix.domain
Klasse Stream
java.lang.Object
com.github.twitch4j.helix.domain.Stream
Stream (LiveStream)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanVeraltet.ID of the game being played on the stream.Name of the game being played.getId()Stream ID.Stream language.Veraltet.in favor of getStartedAtInstant()UTC timestamp on when the stream startedVeraltet.Twitch has deprecated tag ids in favor ofgetTags()due to the latest custom tags systemgetTags()The tags applied to the stream.Thumbnail URL of the stream.getThumbnailUrl(Integer width, Integer height) Gets the thumbnail url for specific dimensionsgetTitle()Stream title.getType()Stream type: "live" or "" (in case of error).Gets the stream uptime based on the start date.ID of the user who is streaming.Login of the user who is streaming.Display name of the user who is streamingNumber of viewers watching the stream at the time of the query.inthashCode()isMature()Indicates if the broadcaster has specified their channel contains mature content that may be inappropriate for younger audiences.toString()
-
Konstruktordetails
-
Stream
public Stream()
-
-
Methodendetails
-
getUptime
Gets the stream uptime based on the start date.- Gibt zurück:
- The stream uptime.
-
getThumbnailUrl
Gets the thumbnail url for specific dimensions- Parameter:
width- thumbnail widthheight- thumbnail height- Gibt zurück:
- String
-
getStartedAt
Veraltet.in favor of getStartedAtInstant()- Gibt zurück:
- the timestamp on when the stream started, in the system default zone
-
getId
Stream ID. -
getUserId
ID of the user who is streaming. -
getUserLogin
Login of the user who is streaming. -
getUserName
Display name of the user who is streaming -
getGameId
ID of the game being played on the stream. -
getGameName
Name of the game being played. -
getCommunityIds
Veraltet.Array of community IDs. -
getType
Stream type: "live" or "" (in case of error). -
getTitle
Stream title. -
getTags
The tags applied to the stream. -
getViewerCount
Number of viewers watching the stream at the time of the query. -
getStartedAtInstant
UTC timestamp on when the stream started -
getTagIds
Veraltet.Twitch has deprecated tag ids in favor ofgetTags()due to the latest custom tags systemIds of active tags on the stream- Siehe auch:
-
isMature
Indicates if the broadcaster has specified their channel contains mature content that may be inappropriate for younger audiences. -
getLanguage
Stream language. -
getThumbnailUrl
Thumbnail URL of the stream. All image URLs have variable width and height. You can replace {width} and {height} with any values to get that size image -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-