Class PlaylistInfo
- java.lang.Object
-
- org.schabi.newpipe.extractor.Info
-
- org.schabi.newpipe.extractor.ListInfo<StreamInfoItem>
-
- org.schabi.newpipe.extractor.playlist.PlaylistInfo
-
- All Implemented Interfaces:
java.io.Serializable
public final class PlaylistInfo extends ListInfo<StreamInfoItem>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlaylistInfo.PlaylistType
Mixes are handled as particular playlists in NewPipeExtractor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Image>
getBanners()
Description
getDescription()
static PlaylistInfo
getInfo(java.lang.String url)
static PlaylistInfo
getInfo(PlaylistExtractor extractor)
Get PlaylistInfo from PlaylistExtractorstatic PlaylistInfo
getInfo(StreamingService service, java.lang.String url)
static ListExtractor.InfoItemsPage<StreamInfoItem>
getMoreItems(StreamingService service, java.lang.String url, Page page)
PlaylistInfo.PlaylistType
getPlaylistType()
long
getStreamCount()
java.util.List<Image>
getSubChannelAvatars()
java.lang.String
getSubChannelName()
java.lang.String
getSubChannelUrl()
java.util.List<Image>
getThumbnails()
java.util.List<Image>
getUploaderAvatars()
java.lang.String
getUploaderName()
java.lang.String
getUploaderUrl()
void
setBanners(java.util.List<Image> banners)
void
setDescription(Description description)
void
setPlaylistType(PlaylistInfo.PlaylistType playlistType)
void
setStreamCount(long streamCount)
void
setSubChannelAvatars(java.util.List<Image> subChannelAvatars)
void
setSubChannelName(java.lang.String subChannelName)
void
setSubChannelUrl(java.lang.String subChannelUrl)
void
setThumbnails(java.util.List<Image> thumbnails)
void
setUploaderAvatars(java.util.List<Image> uploaderAvatars)
void
setUploaderName(java.lang.String uploaderName)
void
setUploaderUrl(java.lang.String uploaderUrl)
-
Methods inherited from class org.schabi.newpipe.extractor.ListInfo
getContentFilters, getNextPage, getRelatedItems, getSortFilter, hasNextPage, setNextPage, setRelatedItems
-
Methods inherited from class org.schabi.newpipe.extractor.Info
addAllErrors, addError, getErrors, getId, getName, getOriginalUrl, getService, getServiceId, getUrl, setOriginalUrl, toString
-
-
-
-
Method Detail
-
getInfo
public static PlaylistInfo getInfo(java.lang.String url) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getInfo
public static PlaylistInfo getInfo(StreamingService service, java.lang.String url) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getMoreItems
public static ListExtractor.InfoItemsPage<StreamInfoItem> getMoreItems(StreamingService service, java.lang.String url, Page page) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getInfo
public static PlaylistInfo getInfo(PlaylistExtractor extractor) throws ExtractionException
Get PlaylistInfo from PlaylistExtractor- Parameters:
extractor
- an extractor where fetchPage() was already got called on.- Throws:
ExtractionException
-
getThumbnails
@Nonnull public java.util.List<Image> getThumbnails()
-
setThumbnails
public void setThumbnails(@Nonnull java.util.List<Image> thumbnails)
-
getBanners
@Nonnull public java.util.List<Image> getBanners()
-
setBanners
public void setBanners(@Nonnull java.util.List<Image> banners)
-
getUploaderUrl
public java.lang.String getUploaderUrl()
-
setUploaderUrl
public void setUploaderUrl(java.lang.String uploaderUrl)
-
getUploaderName
public java.lang.String getUploaderName()
-
setUploaderName
public void setUploaderName(java.lang.String uploaderName)
-
getUploaderAvatars
@Nonnull public java.util.List<Image> getUploaderAvatars()
-
setUploaderAvatars
public void setUploaderAvatars(@Nonnull java.util.List<Image> uploaderAvatars)
-
getSubChannelUrl
public java.lang.String getSubChannelUrl()
-
setSubChannelUrl
public void setSubChannelUrl(java.lang.String subChannelUrl)
-
getSubChannelName
public java.lang.String getSubChannelName()
-
setSubChannelName
public void setSubChannelName(java.lang.String subChannelName)
-
getSubChannelAvatars
@Nonnull public java.util.List<Image> getSubChannelAvatars()
-
setSubChannelAvatars
public void setSubChannelAvatars(@Nonnull java.util.List<Image> subChannelAvatars)
-
getStreamCount
public long getStreamCount()
-
setStreamCount
public void setStreamCount(long streamCount)
-
getDescription
public Description getDescription()
-
setDescription
public void setDescription(Description description)
-
getPlaylistType
public PlaylistInfo.PlaylistType getPlaylistType()
-
setPlaylistType
public void setPlaylistType(PlaylistInfo.PlaylistType playlistType)
-
-