Package com.qingcloud.vod.player.model
Class QCPlayerItem
- java.lang.Object
-
- com.qingcloud.vod.player.model.QCPlayerItem
-
public class QCPlayerItem extends java.lang.Object
The type Qc player item.
-
-
Constructor Summary
Constructors Constructor Description QCPlayerItem()
Instantiates a new Qc player item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCoverUrl()
Gets cover url.int
getDefaultVideoUrlIndex()
Gets default video url index.java.util.Map<java.lang.String,java.lang.String>
getHeaders()
Gets headers.java.util.List<QCPlayerURL>
getMultiVideoUrls()
Gets multi video urls.java.lang.String
getUrl()
Gets url.void
setCoverUrl(java.lang.String coverUrl)
Sets cover url.void
setMultiVideoUrls(java.util.List<QCPlayerURL> multiVideoUrls, int defaultVideoUrlIndex)
Sets multi video urls.void
setUrl(java.lang.String url)
Sets url.void
setUrl(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> headers)
Sets url.
-
-
-
Method Detail
-
setUrl
public void setUrl(java.lang.String url)
Sets url.- Parameters:
url
- the url
-
setUrl
public void setUrl(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> headers)
Sets url.- Parameters:
url
- the urlheaders
- the headers
-
setCoverUrl
public void setCoverUrl(java.lang.String coverUrl)
Sets cover url.- Parameters:
coverUrl
- the cover url
-
setMultiVideoUrls
public void setMultiVideoUrls(java.util.List<QCPlayerURL> multiVideoUrls, int defaultVideoUrlIndex)
Sets multi video urls.- Parameters:
multiVideoUrls
- the multi video urlsdefaultVideoUrlIndex
- the default video url index
-
getUrl
public java.lang.String getUrl()
Gets url.- Returns:
- the url
-
getCoverUrl
public java.lang.String getCoverUrl()
Gets cover url.- Returns:
- the cover url
-
getMultiVideoUrls
public java.util.List<QCPlayerURL> getMultiVideoUrls()
Gets multi video urls.- Returns:
- the multi video urls
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
Gets headers.- Returns:
- the headers
-
getDefaultVideoUrlIndex
public int getDefaultVideoUrlIndex()
Gets default video url index.- Returns:
- the default video url index
-
-