Class StreamInfoItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class StreamInfoItem
    extends InfoItem
    Info object for previews of unopened videos, e.g. search results, related videos.
    See Also:
    Serialized Form
    • Constructor Detail

      • StreamInfoItem

        public StreamInfoItem​(int serviceId,
                              java.lang.String url,
                              java.lang.String name,
                              StreamType streamType)
    • Method Detail

      • getStreamType

        public StreamType getStreamType()
      • getUploaderName

        public java.lang.String getUploaderName()
      • setUploaderName

        public void setUploaderName​(java.lang.String uploaderName)
      • getViewCount

        public long getViewCount()
      • setViewCount

        public void setViewCount​(long viewCount)
      • getDuration

        public long getDuration()
      • setDuration

        public void setDuration​(long duration)
      • getUploaderUrl

        public java.lang.String getUploaderUrl()
      • setUploaderUrl

        public void setUploaderUrl​(java.lang.String uploaderUrl)
      • getUploaderAvatars

        @Nonnull
        public java.util.List<Image> getUploaderAvatars()
      • setUploaderAvatars

        public void setUploaderAvatars​(@Nonnull
                                       java.util.List<Image> uploaderAvatars)
      • getShortDescription

        public java.lang.String getShortDescription()
      • setShortDescription

        public void setShortDescription​(java.lang.String shortDescription)
      • getTextualUploadDate

        @Nullable
        public java.lang.String getTextualUploadDate()
      • setTextualUploadDate

        public void setTextualUploadDate​(java.lang.String textualUploadDate)
      • getUploadDate

        @Nullable
        public DateWrapper getUploadDate()
      • setUploadDate

        public void setUploadDate​(@Nullable
                                  DateWrapper uploadDate)
      • isUploaderVerified

        public boolean isUploaderVerified()
      • setUploaderVerified

        public void setUploaderVerified​(boolean uploaderVerified)
      • isShortFormContent

        public boolean isShortFormContent()
      • setShortFormContent

        public void setShortFormContent​(boolean shortFormContent)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class InfoItem