NewPipeExtractor/javadoc/org/schabi/newpipe/extractor/StreamingService.html
2021-02-12 21:15:34 +00:00

944 lines
64 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_282) on Fri Feb 12 21:15:30 UTC 2021 -->
<title>StreamingService (NewPipeExtractor v0.20.9)</title>
<meta name="date" content="2021-02-12">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamingService (NewPipeExtractor v0.20.9)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":6,"i5":6,"i6":10,"i7":6,"i8":10,"i9":10,"i10":6,"i11":10,"i12":10,"i13":6,"i14":10,"i15":10,"i16":6,"i17":6,"i18":10,"i19":10,"i20":6,"i21":10,"i22":10,"i23":6,"i24":10,"i25":6,"i26":6,"i27":6,"i28":10,"i29":10,"i30":10,"i31":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/schabi/newpipe/extractor/ServiceList.html" title="class in org.schabi.newpipe.extractor"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/schabi/newpipe/extractor/StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/schabi/newpipe/extractor/StreamingService.html" target="_top">Frames</a></li>
<li><a href="StreamingService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.schabi.newpipe.extractor</div>
<h2 title="Class StreamingService" class="title">Class StreamingService</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.schabi.newpipe.extractor.StreamingService</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/schabi/newpipe/extractor/services/media_ccc/MediaCCCService.html" title="class in org.schabi.newpipe.extractor.services.media_ccc">MediaCCCService</a>, <a href="../../../../org/schabi/newpipe/extractor/services/peertube/PeertubeService.html" title="class in org.schabi.newpipe.extractor.services.peertube">PeertubeService</a>, <a href="../../../../org/schabi/newpipe/extractor/services/soundcloud/SoundcloudService.html" title="class in org.schabi.newpipe.extractor.services.soundcloud">SoundcloudService</a>, <a href="../../../../org/schabi/newpipe/extractor/services/youtube/YoutubeService.html" title="class in org.schabi.newpipe.extractor.services.youtube">YoutubeService</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">StreamingService</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a></span></code>
<div class="block">LinkType will be used to determine which type of URL you are handling, and therefore which part
of NewPipe should handle a certain URL.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a></span></code>
<div class="block">This class holds meta information about the service implementation.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#StreamingService-int-java.lang.String-java.util.List-">StreamingService</a></span>(int&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/StreamingService.ServiceInfo.MediaCapability.html" title="enum in org.schabi.newpipe.extractor">StreamingService.ServiceInfo.MediaCapability</a>&gt;&nbsp;capabilities)</code>
<div class="block">Creates a new Streaming service.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getBaseUrl--">getBaseUrl</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getChannelExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">getChannelExtractor</a></span>(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)</code>
<div class="block">Must create a new instance of a ChannelExtractor implementation.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getChannelExtractor-java.lang.String-">getChannelExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getChannelExtractor-java.lang.String-java.util.List-java.lang.String-">getChannelExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getChannelLHFactory--">getChannelLHFactory</a></span>()</code>
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for channels.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getCommentsExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">getCommentsExtractor</a></span>(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getCommentsExtractor-java.lang.String-">getCommentsExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getCommentsLHFactory--">getCommentsLHFactory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getContentCountry--">getContentCountry</a></span>()</code>
<div class="block">Returns the country that should be used to fetch content in this service.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/feed/FeedExtractor.html" title="class in org.schabi.newpipe.extractor.feed">FeedExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getFeedExtractor-java.lang.String-">getFeedExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>
<div class="block">This method decides which strategy will be chosen to fetch the feed.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/kiosk/KioskList.html" title="class in org.schabi.newpipe.extractor.kiosk">KioskList</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getKioskList--">getKioskList</a></span>()</code>
<div class="block">Must create a new instance of a KioskList implementation.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getLinkTypeByUrl-java.lang.String-">getLinkTypeByUrl</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>
<div class="block">Figures out where the link is pointing to (a channel, a video, a playlist, etc.)</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getLocalization--">getLocalization</a></span>()</code>
<div class="block">Returns the localization that should be used in this service.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getPlaylistExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">getPlaylistExtractor</a></span>(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)</code>
<div class="block">Must crete a new instance of a PlaylistExtractor implementation.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getPlaylistExtractor-java.lang.String-">getPlaylistExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getPlaylistExtractor-java.lang.String-java.util.List-java.lang.String-">getPlaylistExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getPlaylistLHFactory--">getPlaylistLHFactory</a></span>()</code>
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for playlists.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSearchExtractor-org.schabi.newpipe.extractor.linkhandler.SearchQueryHandler-">getSearchExtractor</a></span>(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/SearchQueryHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandler</a>&nbsp;queryHandler)</code>
<div class="block">Must create a new instance of a SearchExtractor implementation.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSearchExtractor-java.lang.String-">getSearchExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSearchExtractor-java.lang.String-java.util.List-java.lang.String-">getSearchExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/linkhandler/SearchQueryHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandlerFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSearchQHFactory--">getSearchQHFactory</a></span>()</code>
<div class="block">Must return an instance of an implementation of SearchQueryHandlerFactory.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getServiceId--">getServiceId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getServiceInfo--">getServiceInfo</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getStreamExtractor-org.schabi.newpipe.extractor.linkhandler.LinkHandler-">getStreamExtractor</a></span>(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/LinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandler</a>&nbsp;linkHandler)</code>
<div class="block">Must create a new instance of a StreamExtractor implementation.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getStreamExtractor-java.lang.String-">getStreamExtractor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/linkhandler/LinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandlerFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getStreamLHFactory--">getStreamLHFactory</a></span>()</code>
<div class="block">Must return a new instance of an implementation of LinkHandlerFactory for streams.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/subscription/SubscriptionExtractor.html" title="class in org.schabi.newpipe.extractor.subscription">SubscriptionExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSubscriptionExtractor--">getSubscriptionExtractor</a></span>()</code>
<div class="block">Outdated or obsolete.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/schabi/newpipe/extractor/suggestion/SuggestionExtractor.html" title="class in org.schabi.newpipe.extractor.suggestion">SuggestionExtractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSuggestionExtractor--">getSuggestionExtractor</a></span>()</code>
<div class="block">Must create a new instance of a SuggestionExtractor implementation.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSupportedCountries--">getSupportedCountries</a></span>()</code>
<div class="block">Returns a list of countries that this service supports.<br></div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getSupportedLocalizations--">getSupportedLocalizations</a></span>()</code>
<div class="block">Returns a list of localizations that this service supports.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/schabi/newpipe/extractor/localization/TimeAgoParser.html" title="class in org.schabi.newpipe.extractor.localization">TimeAgoParser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getTimeAgoParser-org.schabi.newpipe.extractor.localization.Localization-">getTimeAgoParser</a></span>(<a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>&nbsp;localization)</code>
<div class="block">Get an instance of the time ago parser using the patterns related to the passed localization.<br>
<br>
Just like <a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getLocalization--"><code>getLocalization()</code></a>, it will also try to fallback to a less specific localization if
the exact one is not available/supported.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StreamingService-int-java.lang.String-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StreamingService</h4>
<pre>public&nbsp;StreamingService(int&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/StreamingService.ServiceInfo.MediaCapability.html" title="enum in org.schabi.newpipe.extractor">StreamingService.ServiceInfo.MediaCapability</a>&gt;&nbsp;capabilities)</pre>
<div class="block">Creates a new Streaming service.
If you Implement one do not set id within your implementation of this extractor, instead
set the id when you put the extractor into
<a href="https://teamnewpipe.github.io/NewPipeExtractor/javadoc/org/schabi/newpipe/extractor/ServiceList.html">ServiceList</a>.
All other parameters can be set directly from the overriding constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the number of the service to identify him within the NewPipe frontend</dd>
<dd><code>name</code> - the name of the service</dd>
<dd><code>capabilities</code> - the type of media this service can handle</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getServiceId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceId</h4>
<pre>public final&nbsp;int&nbsp;getServiceId()</pre>
</li>
</ul>
<a name="getServiceInfo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceInfo</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a>&nbsp;getServiceInfo()</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="getBaseUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBaseUrl</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getBaseUrl()</pre>
</li>
</ul>
<a name="getStreamLHFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamLHFactory</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/linkhandler/LinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandlerFactory</a>&nbsp;getStreamLHFactory()</pre>
<div class="block">Must return a new instance of an implementation of LinkHandlerFactory for streams.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of a LinkHandlerFactory for streams</dd>
</dl>
</li>
</ul>
<a name="getChannelLHFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelLHFactory</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a>&nbsp;getChannelLHFactory()</pre>
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for channels.
If support for channels is not given null must be returned.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of a ListLinkHandlerFactory for channels or null</dd>
</dl>
</li>
</ul>
<a name="getPlaylistLHFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlaylistLHFactory</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a>&nbsp;getPlaylistLHFactory()</pre>
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for playlists.
If support for playlists is not given null must be returned.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of a ListLinkHandlerFactory for playlists or null</dd>
</dl>
</li>
</ul>
<a name="getSearchQHFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchQHFactory</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/linkhandler/SearchQueryHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandlerFactory</a>&nbsp;getSearchQHFactory()</pre>
<div class="block">Must return an instance of an implementation of SearchQueryHandlerFactory.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of a SearchQueryHandlerFactory</dd>
</dl>
</li>
</ul>
<a name="getCommentsLHFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommentsLHFactory</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a>&nbsp;getCommentsLHFactory()</pre>
</li>
</ul>
<a name="getSearchExtractor-org.schabi.newpipe.extractor.linkhandler.SearchQueryHandler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a>&nbsp;getSearchExtractor(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/SearchQueryHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandler</a>&nbsp;queryHandler)</pre>
<div class="block">Must create a new instance of a SearchExtractor implementation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>queryHandler</code> - specifies the keyword lock for, and the filters which should be applied.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new SearchExtractor instance</dd>
</dl>
</li>
</ul>
<a name="getSuggestionExtractor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSuggestionExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/suggestion/SuggestionExtractor.html" title="class in org.schabi.newpipe.extractor.suggestion">SuggestionExtractor</a>&nbsp;getSuggestionExtractor()</pre>
<div class="block">Must create a new instance of a SuggestionExtractor implementation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new SuggestionExtractor instance</dd>
</dl>
</li>
</ul>
<a name="getSubscriptionExtractor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubscriptionExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/subscription/SubscriptionExtractor.html" title="class in org.schabi.newpipe.extractor.subscription">SubscriptionExtractor</a>&nbsp;getSubscriptionExtractor()</pre>
<div class="block">Outdated or obsolete. null can be returned.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>just null</dd>
</dl>
</li>
</ul>
<a name="getFeedExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFeedExtractor</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/feed/FeedExtractor.html" title="class in org.schabi.newpipe.extractor.feed">FeedExtractor</a>&nbsp;getFeedExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<div class="block">This method decides which strategy will be chosen to fetch the feed. In YouTube, for example, a separate feed
exists which is lightweight and made specifically to be used like this.
<p>
In services which there's no other way to retrieve them, null should be returned.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../../../org/schabi/newpipe/extractor/feed/FeedExtractor.html" title="class in org.schabi.newpipe.extractor.feed"><code>FeedExtractor</code></a> instance or null.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getKioskList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKioskList</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/kiosk/KioskList.html" title="class in org.schabi.newpipe.extractor.kiosk">KioskList</a>&nbsp;getKioskList()
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<div class="block">Must create a new instance of a KioskList implementation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new KioskList instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getChannelExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a>&nbsp;getChannelExtractor(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<div class="block">Must create a new instance of a ChannelExtractor implementation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>linkHandler</code> - is pointing to the channel which should be handled by this new instance.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new ChannelExtractor</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPlaylistExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlaylistExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a>&nbsp;getPlaylistExtractor(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<div class="block">Must crete a new instance of a PlaylistExtractor implementation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>linkHandler</code> - is pointing to the playlist which should be handled by this new instance.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new PlaylistExtractor</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getStreamExtractor-org.schabi.newpipe.extractor.linkhandler.LinkHandler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a>&nbsp;getStreamExtractor(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/LinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandler</a>&nbsp;linkHandler)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<div class="block">Must create a new instance of a StreamExtractor implementation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>linkHandler</code> - is pointing to the stream which should be handled by this new instance.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new StreamExtractor</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getCommentsExtractor-org.schabi.newpipe.extractor.linkhandler.ListLinkHandler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommentsExtractor</h4>
<pre>public abstract&nbsp;<a href="../../../../org/schabi/newpipe/extractor/comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a>&nbsp;getCommentsExtractor(<a href="../../../../org/schabi/newpipe/extractor/linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a>&nbsp;linkHandler)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getSearchExtractor-java.lang.String-java.util.List-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a>&nbsp;getSearchExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getChannelExtractor-java.lang.String-java.util.List-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a>&nbsp;getChannelExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPlaylistExtractor-java.lang.String-java.util.List-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlaylistExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a>&nbsp;getPlaylistExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;contentFilter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sortFilter)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getSearchExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a>&nbsp;getSearchExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getChannelExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a>&nbsp;getChannelExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getPlaylistExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlaylistExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a>&nbsp;getPlaylistExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getStreamExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a>&nbsp;getStreamExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getCommentsExtractor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommentsExtractor</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a>&nbsp;getCommentsExtractor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getLinkTypeByUrl-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLinkTypeByUrl</h4>
<pre>public final&nbsp;<a href="../../../../org/schabi/newpipe/extractor/StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a>&nbsp;getLinkTypeByUrl(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)
throws <a href="../../../../org/schabi/newpipe/extractor/exceptions/ParsingException.html" title="class in org.schabi.newpipe.extractor.exceptions">ParsingException</a></pre>
<div class="block">Figures out where the link is pointing to (a channel, a video, a playlist, etc.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - the url on which it should be decided of which link type it is</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the link type of url</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/schabi/newpipe/extractor/exceptions/ParsingException.html" title="class in org.schabi.newpipe.extractor.exceptions">ParsingException</a></code></dd>
</dl>
</li>
</ul>
<a name="getSupportedLocalizations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSupportedLocalizations</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>&gt;&nbsp;getSupportedLocalizations()</pre>
<div class="block">Returns a list of localizations that this service supports.</div>
</li>
</ul>
<a name="getSupportedCountries--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSupportedCountries</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/schabi/newpipe/extractor/localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a>&gt;&nbsp;getSupportedCountries()</pre>
<div class="block">Returns a list of countries that this service supports.<br></div>
</li>
</ul>
<a name="getLocalization--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalization</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>&nbsp;getLocalization()</pre>
<div class="block">Returns the localization that should be used in this service. It will get which localization
the user prefer (using <a href="../../../../org/schabi/newpipe/extractor/NewPipe.html#getPreferredLocalization--"><code>NewPipe.getPreferredLocalization()</code></a>), then it will:
<ul>
<li>Check if the exactly localization is supported by this service.</li>
<li>If not, check if a less specific localization is available, using only the language code.</li>
<li>Fallback to the <a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html#DEFAULT"><code>default</code></a> localization.</li>
</ul></div>
</li>
</ul>
<a name="getContentCountry--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContentCountry</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a>&nbsp;getContentCountry()</pre>
<div class="block">Returns the country that should be used to fetch content in this service. It will get which country
the user prefer (using <a href="../../../../org/schabi/newpipe/extractor/NewPipe.html#getPreferredContentCountry--"><code>NewPipe.getPreferredContentCountry()</code></a>), then it will:
<ul>
<li>Check if the country is supported by this service.</li>
<li>If not, fallback to the <a href="../../../../org/schabi/newpipe/extractor/localization/ContentCountry.html#DEFAULT"><code>default</code></a> country.</li>
</ul></div>
</li>
</ul>
<a name="getTimeAgoParser-org.schabi.newpipe.extractor.localization.Localization-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getTimeAgoParser</h4>
<pre>public&nbsp;<a href="../../../../org/schabi/newpipe/extractor/localization/TimeAgoParser.html" title="class in org.schabi.newpipe.extractor.localization">TimeAgoParser</a>&nbsp;getTimeAgoParser(<a href="../../../../org/schabi/newpipe/extractor/localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>&nbsp;localization)</pre>
<div class="block">Get an instance of the time ago parser using the patterns related to the passed localization.<br>
<br>
Just like <a href="../../../../org/schabi/newpipe/extractor/StreamingService.html#getLocalization--"><code>getLocalization()</code></a>, it will also try to fallback to a less specific localization if
the exact one is not available/supported.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the localization is not supported (parsing patterns are not present).</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/schabi/newpipe/extractor/ServiceList.html" title="class in org.schabi.newpipe.extractor"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/schabi/newpipe/extractor/StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/schabi/newpipe/extractor/StreamingService.html" target="_top">Frames</a></li>
<li><a href="StreamingService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>