Class YoutubeChannelHelper.ChannelHeader
- java.lang.Object
-
- org.schabi.newpipe.extractor.services.youtube.YoutubeChannelHelper.ChannelHeader
-
- Enclosing class:
- YoutubeChannelHelper
public static final class YoutubeChannelHelper.ChannelHeader extends java.lang.Object
A channel header response.This class allows the distinction between a classic header and a carousel one, used for auto-generated ones like the gaming or music topic channels and for big events such as the Coachella music festival, which have a different data structure and do not return the same properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YoutubeChannelHelper.ChannelHeader.HeaderType
Types of supported YouTube channel headers.
-
Field Summary
Fields Modifier and Type Field Description YoutubeChannelHelper.ChannelHeader.HeaderType
headerType
The type of the channel header.com.grack.nanojson.JsonObject
json
The channel header JSON response.
-
-
-
Field Detail
-
json
@Nonnull public final com.grack.nanojson.JsonObject json
The channel header JSON response.
-
headerType
public final YoutubeChannelHelper.ChannelHeader.HeaderType headerType
The type of the channel header.See the documentation of the
YoutubeChannelHelper.ChannelHeader.HeaderType
class for more details.
-
-