Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QCPlayerItem

        public QCPlayerItem()
        Instantiates a new Qc player item.
    • 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 url
        headers - 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 urls
        defaultVideoUrlIndex - 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