Class StreamInfoItem
- java.lang.Object
-
- org.schabi.newpipe.extractor.InfoItem
-
- org.schabi.newpipe.extractor.stream.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.schabi.newpipe.extractor.InfoItem
InfoItem.InfoType
-
-
Constructor Summary
Constructors Constructor Description StreamInfoItem(int serviceId, java.lang.String url, java.lang.String name, StreamType streamType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
java.lang.String
getShortDescription()
StreamType
getStreamType()
java.lang.String
getTextualUploadDate()
DateWrapper
getUploadDate()
java.util.List<Image>
getUploaderAvatars()
java.lang.String
getUploaderName()
java.lang.String
getUploaderUrl()
long
getViewCount()
boolean
isShortFormContent()
boolean
isUploaderVerified()
void
setDuration(long duration)
void
setShortDescription(java.lang.String shortDescription)
void
setShortFormContent(boolean shortFormContent)
void
setTextualUploadDate(java.lang.String textualUploadDate)
void
setUploadDate(DateWrapper uploadDate)
void
setUploaderAvatars(java.util.List<Image> uploaderAvatars)
void
setUploaderName(java.lang.String uploaderName)
void
setUploaderUrl(java.lang.String uploaderUrl)
void
setUploaderVerified(boolean uploaderVerified)
void
setViewCount(long viewCount)
java.lang.String
toString()
-
Methods inherited from class org.schabi.newpipe.extractor.InfoItem
getInfoType, getName, getServiceId, getThumbnails, getUrl, setThumbnails
-
-
-
-
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)
-
-