Class ChannelInfo
- java.lang.Object
-
- org.schabi.newpipe.extractor.Info
-
- org.schabi.newpipe.extractor.channel.ChannelInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ChannelInfo extends Info
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChannelInfo(int serviceId, java.lang.String id, java.lang.String url, java.lang.String originalUrl, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Image>
getAvatars()
java.util.List<Image>
getBanners()
java.lang.String
getDescription()
java.lang.String[]
getDonationLinks()
java.lang.String
getFeedUrl()
static ChannelInfo
getInfo(java.lang.String url)
static ChannelInfo
getInfo(ChannelExtractor extractor)
static ChannelInfo
getInfo(StreamingService service, java.lang.String url)
java.util.List<Image>
getParentChannelAvatars()
java.lang.String
getParentChannelName()
java.lang.String
getParentChannelUrl()
long
getSubscriberCount()
java.util.List<ListLinkHandler>
getTabs()
java.util.List<java.lang.String>
getTags()
boolean
isVerified()
void
setAvatars(java.util.List<Image> avatars)
void
setBanners(java.util.List<Image> banners)
void
setDescription(java.lang.String description)
void
setDonationLinks(java.lang.String[] donationLinks)
void
setFeedUrl(java.lang.String feedUrl)
void
setParentChannelAvatars(java.util.List<Image> parentChannelAvatars)
void
setParentChannelName(java.lang.String parentChannelName)
void
setParentChannelUrl(java.lang.String parentChannelUrl)
void
setSubscriberCount(long subscriberCount)
void
setTabs(java.util.List<ListLinkHandler> tabs)
void
setTags(java.util.List<java.lang.String> tags)
void
setVerified(boolean verified)
-
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 ChannelInfo getInfo(java.lang.String url) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getInfo
public static ChannelInfo getInfo(StreamingService service, java.lang.String url) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getInfo
public static ChannelInfo getInfo(ChannelExtractor extractor) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getParentChannelName
public java.lang.String getParentChannelName()
-
setParentChannelName
public void setParentChannelName(java.lang.String parentChannelName)
-
getParentChannelUrl
public java.lang.String getParentChannelUrl()
-
setParentChannelUrl
public void setParentChannelUrl(java.lang.String parentChannelUrl)
-
getParentChannelAvatars
@Nonnull public java.util.List<Image> getParentChannelAvatars()
-
setParentChannelAvatars
public void setParentChannelAvatars(@Nonnull java.util.List<Image> parentChannelAvatars)
-
getAvatars
@Nonnull public java.util.List<Image> getAvatars()
-
setAvatars
public void setAvatars(@Nonnull java.util.List<Image> avatars)
-
getBanners
@Nonnull public java.util.List<Image> getBanners()
-
setBanners
public void setBanners(@Nonnull java.util.List<Image> banners)
-
getFeedUrl
public java.lang.String getFeedUrl()
-
setFeedUrl
public void setFeedUrl(java.lang.String feedUrl)
-
getSubscriberCount
public long getSubscriberCount()
-
setSubscriberCount
public void setSubscriberCount(long subscriberCount)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getDonationLinks
public java.lang.String[] getDonationLinks()
-
setDonationLinks
public void setDonationLinks(java.lang.String[] donationLinks)
-
isVerified
public boolean isVerified()
-
setVerified
public void setVerified(boolean verified)
-
getTabs
@Nonnull public java.util.List<ListLinkHandler> getTabs()
-
setTabs
public void setTabs(@Nonnull java.util.List<ListLinkHandler> tabs)
-
getTags
@Nonnull public java.util.List<java.lang.String> getTags()
-
setTags
public void setTags(@Nonnull java.util.List<java.lang.String> tags)
-
-