public class Video
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Video.VideoType
A list of available video formats which Exoplayer can play.
|
Constructor and Description |
---|
Video(java.lang.String url,
Video.VideoType videoType) |
Video(java.lang.String url,
Video.VideoType videoType,
java.lang.String contentId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentId()
Returns ID of content (for DASH).
|
java.lang.String |
getUrl()
Returns the URL pointing to the video.
|
Video.VideoType |
getVideoType()
Returns the video format of the video.
|
public Video(java.lang.String url, Video.VideoType videoType)
url
- The URL pointing to the video.videoType
- The video format of the video.public Video(java.lang.String url, Video.VideoType videoType, java.lang.String contentId)
url
- The URL pointing to the video.videoType
- The video format of the video.contentId
- ID of content (for DASH).public java.lang.String getContentId()
public java.lang.String getUrl()
public Video.VideoType getVideoType()