Class StreamInfoItem
java.lang.Object
org.schabi.newpipe.extractor.InfoItem
org.schabi.newpipe.extractor.stream.StreamInfoItem
- All Implemented Interfaces:
Serializable
Info object for previews of unopened videos, e.g. search results, related videos.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.schabi.newpipe.extractor.InfoItem
InfoItem.InfoType -
Constructor Summary
ConstructorsConstructorDescriptionStreamInfoItem(int serviceId, String url, String name, StreamType streamType) -
Method Summary
Modifier and TypeMethodDescriptionGets the availability of the content.longlongbooleanbooleanvoidsetContentAvailability(ContentAvailability availability) Sets the availability of the Stream.voidsetDuration(long duration) voidsetShortDescription(String shortDescription) voidsetShortFormContent(boolean shortFormContent) voidsetTextualUploadDate(String textualUploadDate) voidsetUploadDate(DateWrapper uploadDate) voidsetUploaderAvatars(List<Image> uploaderAvatars) voidsetUploaderName(String uploaderName) voidsetUploaderUrl(String uploaderUrl) voidsetUploaderVerified(boolean uploaderVerified) voidsetViewCount(long viewCount) toString()Methods inherited from class org.schabi.newpipe.extractor.InfoItem
getInfoType, getName, getServiceId, getThumbnails, getUrl, setThumbnails
-
Constructor Details
-
StreamInfoItem
-
-
Method Details
-
getStreamType
-
getUploaderName
-
setUploaderName
-
getViewCount
public long getViewCount() -
setViewCount
public void setViewCount(long viewCount) -
getDuration
public long getDuration() -
setDuration
public void setDuration(long duration) -
getUploaderUrl
-
setUploaderUrl
-
getUploaderAvatars
-
setUploaderAvatars
-
getShortDescription
-
setShortDescription
-
getTextualUploadDate
-
setTextualUploadDate
-
getUploadDate
-
setUploadDate
-
isUploaderVerified
public boolean isUploaderVerified() -
setUploaderVerified
public void setUploaderVerified(boolean uploaderVerified) -
isShortFormContent
public boolean isShortFormContent() -
setShortFormContent
public void setShortFormContent(boolean shortFormContent) -
getContentAvailability
Gets the availability of the content.- Returns:
- The availability of the stream.
-
setContentAvailability
Sets the availability of the Stream. -
toString
-