Package org.schabi.newpipe.extractor
Class InfoItem
- java.lang.Object
-
- org.schabi.newpipe.extractor.InfoItem
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ChannelInfoItem
,CommentsInfoItem
,PlaylistInfoItem
,StreamInfoItem
public abstract class InfoItem extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InfoItem.InfoType
-
Constructor Summary
Constructors Constructor Description InfoItem(InfoItem.InfoType infoType, int serviceId, java.lang.String url, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfoItem.InfoType
getInfoType()
java.lang.String
getName()
int
getServiceId()
java.util.List<Image>
getThumbnails()
java.lang.String
getUrl()
void
setThumbnails(java.util.List<Image> thumbnails)
java.lang.String
toString()
-
-
-
Constructor Detail
-
InfoItem
public InfoItem(InfoItem.InfoType infoType, int serviceId, java.lang.String url, java.lang.String name)
-
-
Method Detail
-
getInfoType
public InfoItem.InfoType getInfoType()
-
getServiceId
public int getServiceId()
-
getUrl
public java.lang.String getUrl()
-
getName
public java.lang.String getName()
-
setThumbnails
public void setThumbnails(@Nonnull java.util.List<Image> thumbnails)
-
getThumbnails
@Nonnull public java.util.List<Image> getThumbnails()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-