Package com.github.twitch4j.helix.domain
Klasse Video
java.lang.Object
com.github.twitch4j.helix.domain.Video
Video
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic enumThe order to sort the returned videos in.static enumA filter used to filter the list of videos by when they were published.static enumThe video's type. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanVeraltet.in favor of getCreatedAtInstant()Date when the video was created.Description of the video.Length of the video.getId()ID of the video.Language of the video.Array of muted segments in the video.Veraltet.in favor of getPublishedAtInstant()Date when the video was published.ID of the stream that the video originated from if the type is "archive".Template URL for the thumbnail of the video.getThumbnailUrl(int width, int height) Gets the thumbnail url for specific dimensions.getTitle()Title of the video.getType()Type of video.getUrl()URL of the video.ID of the user who owns the video.Login of the user who owns the video.Login name corresponding to user_id.Indicates whether the video is publicly viewable.Number of times the video has been viewed.inthashCode()toString()
-
Konstruktordetails
-
Video
public Video()
-
-
Methodendetails
-
getParsedType
- Gibt zurück:
- the
Video.Typeof the video
-
getThumbnailUrl
Gets the thumbnail url for specific dimensions.- Parameter:
width- Thumbnail width.height- Thumbnail height.- Gibt zurück:
- String
-
getCreatedAt
Veraltet.in favor of getCreatedAtInstant()- Gibt zurück:
- the timestamp when the video was created
-
getPublishedAt
Veraltet.in favor of getPublishedAtInstant()- Gibt zurück:
- the timestamp when the video was published
-
getId
ID of the video. -
getStreamId
ID of the stream that the video originated from if the type is "archive". Otherwise set to null. -
getUserId
ID of the user who owns the video. -
getUserLogin
Login of the user who owns the video. -
getUserName
Login name corresponding to user_id. -
getTitle
Title of the video. -
getDescription
Description of the video. -
getCreatedAtInstant
Date when the video was created. -
getPublishedAtInstant
Date when the video was published. -
getUrl
URL of the video. -
getThumbnailUrl
Template URL for the thumbnail of the video. -
getViewable
Indicates whether the video is publicly viewable. Valid values: "public", "private". -
getViewCount
Number of times the video has been viewed. -
getLanguage
Language of the video. -
getType
Type of video. Valid values: "upload", "archive", "highlight". -
getDuration
Length of the video. -
getMutedSegments
Array of muted segments in the video. If there are no muted segments, the value will be null. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-