Class ChannelTabInfo
- java.lang.Object
-
- org.schabi.newpipe.extractor.Info
-
- org.schabi.newpipe.extractor.ListInfo<InfoItem>
-
- org.schabi.newpipe.extractor.channel.tabs.ChannelTabInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ChannelTabInfo extends ListInfo<InfoItem>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChannelTabInfo(int serviceId, ListLinkHandler linkHandler)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChannelTabInfo
getInfo(ChannelTabExtractor extractor)
Get aChannelTabInfo
instance from aChannelTabExtractor
.static ChannelTabInfo
getInfo(StreamingService service, ListLinkHandler linkHandler)
Get aChannelTabInfo
instance from the given service and tab handler.static ListExtractor.InfoItemsPage<InfoItem>
getMoreItems(StreamingService service, ListLinkHandler linkHandler, Page page)
-
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
-
-
-
-
Constructor Detail
-
ChannelTabInfo
public ChannelTabInfo(int serviceId, @Nonnull ListLinkHandler linkHandler)
-
-
Method Detail
-
getInfo
@Nonnull public static ChannelTabInfo getInfo(@Nonnull StreamingService service, @Nonnull ListLinkHandler linkHandler) throws ExtractionException, java.io.IOException
Get aChannelTabInfo
instance from the given service and tab handler.- Parameters:
service
- streaming servicelinkHandler
- Channel tab handler (fromChannelInfo
)- Returns:
- the extracted
ChannelTabInfo
- Throws:
ExtractionException
java.io.IOException
-
getInfo
@Nonnull public static ChannelTabInfo getInfo(@Nonnull ChannelTabExtractor extractor)
Get aChannelTabInfo
instance from aChannelTabExtractor
.- Parameters:
extractor
- an extractor wherefetchPage()
was already got called on- Returns:
- the extracted
ChannelTabInfo
-
getMoreItems
public static ListExtractor.InfoItemsPage<InfoItem> getMoreItems(@Nonnull StreamingService service, @Nonnull ListLinkHandler linkHandler, @Nonnull Page page) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
-