mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-01-10 03:20:34 +05:30
1105 lines
57 KiB
HTML
1105 lines
57 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>StreamingService (NewPipeExtractor v0.24.3)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="StreamingService (NewPipeExtractor v0.24.3)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":6,"i1":10,"i2":10,"i3":6,"i4":6,"i5":6,"i6":10,"i7":10,"i8":6,"i9":10,"i10":6,"i11":6,"i12":10,"i13":10,"i14":6,"i15":10,"i16":10,"i17":10,"i18":10,"i19":6,"i20":6,"i21":10,"i22":10,"i23":6,"i24":6,"i25":10,"i26":10,"i27":10,"i28":6,"i29":6,"i30":6,"i31":6,"i32":10,"i33":10,"i34":10,"i35":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";
|
|
var pathtoroot = "../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.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" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.schabi.newpipe.extractor</a></div>
|
|
<h2 title="Class StreamingService" class="title">Class StreamingService</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</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><code><a href="services/bandcamp/BandcampService.html" title="class in org.schabi.newpipe.extractor.services.bandcamp">BandcampService</a></code>, <code><a href="services/media_ccc/MediaCCCService.html" title="class in org.schabi.newpipe.extractor.services.media_ccc">MediaCCCService</a></code>, <code><a href="services/peertube/PeertubeService.html" title="class in org.schabi.newpipe.extractor.services.peertube">PeertubeService</a></code>, <code><a href="services/soundcloud/SoundcloudService.html" title="class in org.schabi.newpipe.extractor.services.soundcloud">SoundcloudService</a></code>, <code><a href="services/youtube/YoutubeService.html" title="class in org.schabi.newpipe.extractor.services.youtube">YoutubeService</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public abstract class <span class="typeNameLabel">StreamingService</span>
|
|
extends java.lang.Object</pre>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static class </code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a></span></code></th>
|
|
<td class="colLast">
|
|
<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 </code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">This class holds meta information about the service implementation.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,java.util.List)">StreamingService</a></span>​(int id,
|
|
java.lang.String name,
|
|
java.util.List<<a href="StreamingService.ServiceInfo.MediaCapability.html" title="enum in org.schabi.newpipe.extractor">StreamingService.ServiceInfo.MediaCapability</a>> capabilities)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Creates a new Streaming service.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>abstract java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBaseUrl()">getBaseUrl</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code><a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelExtractor(java.lang.String)">getChannelExtractor</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelExtractor(java.lang.String,java.util.List,java.lang.String)">getChannelExtractor</a></span>​(java.lang.String id,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">getChannelExtractor</a></span>​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a ChannelExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelLHFactory()">getChannelLHFactory</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<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="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelTabExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">getChannelTabExtractor</a></span>​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a ChannelTabExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelTabExtractorFromId(java.lang.String,java.lang.String)">getChannelTabExtractorFromId</a></span>​(java.lang.String id,
|
|
java.lang.String tab)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelTabExtractorFromIdAndBaseUrl(java.lang.String,java.lang.String,java.lang.String)">getChannelTabExtractorFromIdAndBaseUrl</a></span>​(java.lang.String id,
|
|
java.lang.String tab,
|
|
java.lang.String baseUrl)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChannelTabLHFactory()">getChannelTabLHFactory</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for channel tabs.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommentsExtractor(java.lang.String)">getCommentsExtractor</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommentsExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">getCommentsExtractor</a></span>​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommentsLHFactory()">getCommentsLHFactory</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContentCountry()">getContentCountry</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the country that should be used to fetch content in this service.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="feed/FeedExtractor.html" title="class in org.schabi.newpipe.extractor.feed">FeedExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFeedExtractor(java.lang.String)">getFeedExtractor</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This method decides which strategy will be chosen to fetch the feed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="kiosk/KioskList.html" title="class in org.schabi.newpipe.extractor.kiosk">KioskList</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKioskList()">getKioskList</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a KioskList implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code><a href="StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLinkTypeByUrl(java.lang.String)">getLinkTypeByUrl</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Figures out where the link is pointing to (a channel, a video, a playlist, etc.)</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code><a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLocalization()">getLocalization</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the localization that should be used in this service.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code><a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPlaylistExtractor(java.lang.String)">getPlaylistExtractor</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code><a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPlaylistExtractor(java.lang.String,java.util.List,java.lang.String)">getPlaylistExtractor</a></span>​(java.lang.String id,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPlaylistExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">getPlaylistExtractor</a></span>​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must crete a new instance of a PlaylistExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPlaylistLHFactory()">getPlaylistLHFactory</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for playlists.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code><a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSearchExtractor(java.lang.String)">getSearchExtractor</a></span>​(java.lang.String query)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code><a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSearchExtractor(java.lang.String,java.util.List,java.lang.String)">getSearchExtractor</a></span>​(java.lang.String query,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSearchExtractor(org.schabi.newpipe.extractor.linkhandler.SearchQueryHandler)">getSearchExtractor</a></span>​(<a href="linkhandler/SearchQueryHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandler</a> queryHandler)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a SearchExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/SearchQueryHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSearchQHFactory()">getSearchQHFactory</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must return an instance of an implementation of SearchQueryHandlerFactory.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServiceId()">getServiceId</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code><a href="StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServiceInfo()">getServiceInfo</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code><a href="stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamExtractor(java.lang.String)">getStreamExtractor</a></span>​(java.lang.String url)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamExtractor(org.schabi.newpipe.extractor.linkhandler.LinkHandler)">getStreamExtractor</a></span>​(<a href="linkhandler/LinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandler</a> linkHandler)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a StreamExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="linkhandler/LinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandlerFactory</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamLHFactory()">getStreamLHFactory</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must return a new instance of an implementation of LinkHandlerFactory for streams.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="subscription/SubscriptionExtractor.html" title="class in org.schabi.newpipe.extractor.subscription">SubscriptionExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSubscriptionExtractor()">getSubscriptionExtractor</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Outdated or obsolete.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="suggestion/SuggestionExtractor.html" title="class in org.schabi.newpipe.extractor.suggestion">SuggestionExtractor</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSuggestionExtractor()">getSuggestionExtractor</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Must create a new instance of a SuggestionExtractor implementation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSupportedCountries()">getSupportedCountries</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns a list of countries that this service supports.<br></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSupportedLocalizations()">getSupportedLocalizations</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns a list of localizations that this service supports.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code><a href="localization/TimeAgoParser.html" title="class in org.schabi.newpipe.extractor.localization">TimeAgoParser</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTimeAgoParser(org.schabi.newpipe.extractor.localization.Localization)">getTimeAgoParser</a></span>​(<a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a> localization)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get an instance of the time ago parser using the patterns related to the passed localization.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a id="<init>(int,java.lang.String,java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>StreamingService</h4>
|
|
<pre>public StreamingService​(int id,
|
|
java.lang.String name,
|
|
java.util.List<<a href="StreamingService.ServiceInfo.MediaCapability.html" title="enum in org.schabi.newpipe.extractor">StreamingService.ServiceInfo.MediaCapability</a>> 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="ServiceList.html" title="class in org.schabi.newpipe.extractor"><code>ServiceList</code></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>
|
|
</section>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getServiceId()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getServiceId</h4>
|
|
<pre class="methodSignature">public final int getServiceId()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getServiceInfo()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getServiceInfo</h4>
|
|
<pre class="methodSignature">public <a href="StreamingService.ServiceInfo.html" title="class in org.schabi.newpipe.extractor">StreamingService.ServiceInfo</a> getServiceInfo()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="toString()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre class="methodSignature">public java.lang.String toString()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getBaseUrl()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBaseUrl</h4>
|
|
<pre class="methodSignature">public abstract java.lang.String getBaseUrl()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getStreamLHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStreamLHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/LinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandlerFactory</a> 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 id="getChannelLHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelLHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a> 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 id="getChannelTabLHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelTabLHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a> getChannelTabLHFactory()</pre>
|
|
<div class="block">Must return a new instance of an implementation of ListLinkHandlerFactory for channel tabs.
|
|
If support for channel tabs 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 id="getPlaylistLHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlaylistLHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a> 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 id="getSearchQHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSearchQHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/SearchQueryHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandlerFactory</a> 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 id="getCommentsLHFactory()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCommentsLHFactory</h4>
|
|
<pre class="methodSignature">public abstract <a href="linkhandler/ListLinkHandlerFactory.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandlerFactory</a> getCommentsLHFactory()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getSearchExtractor(org.schabi.newpipe.extractor.linkhandler.SearchQueryHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSearchExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a> getSearchExtractor​(<a href="linkhandler/SearchQueryHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">SearchQueryHandler</a> 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 id="getSuggestionExtractor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSuggestionExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="suggestion/SuggestionExtractor.html" title="class in org.schabi.newpipe.extractor.suggestion">SuggestionExtractor</a> 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 id="getSubscriptionExtractor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSubscriptionExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="subscription/SubscriptionExtractor.html" title="class in org.schabi.newpipe.extractor.subscription">SubscriptionExtractor</a> 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 id="getFeedExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFeedExtractor</h4>
|
|
<pre class="methodSignature">@Nullable
|
|
public <a href="feed/FeedExtractor.html" title="class in org.schabi.newpipe.extractor.feed">FeedExtractor</a> getFeedExtractor​(java.lang.String url)
|
|
throws <a href="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="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getKioskList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getKioskList</h4>
|
|
<pre class="methodSignature">public abstract <a href="kiosk/KioskList.html" title="class in org.schabi.newpipe.extractor.kiosk">KioskList</a> getKioskList()
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a> getChannelExtractor​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelTabExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelTabExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a> getChannelTabExtractor​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)
|
|
throws <a href="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></pre>
|
|
<div class="block">Must create a new instance of a ChannelTabExtractor 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 ChannelTabExtractor</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPlaylistExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlaylistExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a> getPlaylistExtractor​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getStreamExtractor(org.schabi.newpipe.extractor.linkhandler.LinkHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStreamExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a> getStreamExtractor​(<a href="linkhandler/LinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">LinkHandler</a> linkHandler)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getCommentsExtractor(org.schabi.newpipe.extractor.linkhandler.ListLinkHandler)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCommentsExtractor</h4>
|
|
<pre class="methodSignature">public abstract <a href="comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a> getCommentsExtractor​(<a href="linkhandler/ListLinkHandler.html" title="class in org.schabi.newpipe.extractor.linkhandler">ListLinkHandler</a> linkHandler)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getSearchExtractor(java.lang.String,java.util.List,java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSearchExtractor</h4>
|
|
<pre class="methodSignature">public <a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a> getSearchExtractor​(java.lang.String query,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelExtractor(java.lang.String,java.util.List,java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelExtractor</h4>
|
|
<pre class="methodSignature">public <a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a> getChannelExtractor​(java.lang.String id,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPlaylistExtractor(java.lang.String,java.util.List,java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlaylistExtractor</h4>
|
|
<pre class="methodSignature">public <a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a> getPlaylistExtractor​(java.lang.String id,
|
|
java.util.List<java.lang.String> contentFilter,
|
|
java.lang.String sortFilter)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getSearchExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSearchExtractor</h4>
|
|
<pre class="methodSignature">public <a href="search/SearchExtractor.html" title="class in org.schabi.newpipe.extractor.search">SearchExtractor</a> getSearchExtractor​(java.lang.String query)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelExtractor</h4>
|
|
<pre class="methodSignature">public <a href="channel/ChannelExtractor.html" title="class in org.schabi.newpipe.extractor.channel">ChannelExtractor</a> getChannelExtractor​(java.lang.String url)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelTabExtractorFromId(java.lang.String,java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelTabExtractorFromId</h4>
|
|
<pre class="methodSignature">public <a href="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a> getChannelTabExtractorFromId​(java.lang.String id,
|
|
java.lang.String tab)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChannelTabExtractorFromIdAndBaseUrl(java.lang.String,java.lang.String,java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChannelTabExtractorFromIdAndBaseUrl</h4>
|
|
<pre class="methodSignature">public <a href="channel/tabs/ChannelTabExtractor.html" title="class in org.schabi.newpipe.extractor.channel.tabs">ChannelTabExtractor</a> getChannelTabExtractorFromIdAndBaseUrl​(java.lang.String id,
|
|
java.lang.String tab,
|
|
java.lang.String baseUrl)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPlaylistExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlaylistExtractor</h4>
|
|
<pre class="methodSignature">public <a href="playlist/PlaylistExtractor.html" title="class in org.schabi.newpipe.extractor.playlist">PlaylistExtractor</a> getPlaylistExtractor​(java.lang.String url)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getStreamExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStreamExtractor</h4>
|
|
<pre class="methodSignature">public <a href="stream/StreamExtractor.html" title="class in org.schabi.newpipe.extractor.stream">StreamExtractor</a> getStreamExtractor​(java.lang.String url)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getCommentsExtractor(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCommentsExtractor</h4>
|
|
<pre class="methodSignature">public <a href="comments/CommentsExtractor.html" title="class in org.schabi.newpipe.extractor.comments">CommentsExtractor</a> getCommentsExtractor​(java.lang.String url)
|
|
throws <a href="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="exceptions/ExtractionException.html" title="class in org.schabi.newpipe.extractor.exceptions">ExtractionException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getLinkTypeByUrl(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLinkTypeByUrl</h4>
|
|
<pre class="methodSignature">public final <a href="StreamingService.LinkType.html" title="enum in org.schabi.newpipe.extractor">StreamingService.LinkType</a> getLinkTypeByUrl​(java.lang.String url)
|
|
throws <a href="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="exceptions/ParsingException.html" title="class in org.schabi.newpipe.extractor.exceptions">ParsingException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getSupportedLocalizations()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSupportedLocalizations</h4>
|
|
<pre class="methodSignature">public java.util.List<<a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a>> getSupportedLocalizations()</pre>
|
|
<div class="block">Returns a list of localizations that this service supports.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="getSupportedCountries()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSupportedCountries</h4>
|
|
<pre class="methodSignature">public java.util.List<<a href="localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a>> getSupportedCountries()</pre>
|
|
<div class="block">Returns a list of countries that this service supports.<br></div>
|
|
</li>
|
|
</ul>
|
|
<a id="getLocalization()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLocalization</h4>
|
|
<pre class="methodSignature">public <a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a> 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="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="localization/Localization.html#DEFAULT"><code>default</code></a> localization.</li>
|
|
</ul></div>
|
|
</li>
|
|
</ul>
|
|
<a id="getContentCountry()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getContentCountry</h4>
|
|
<pre class="methodSignature">public <a href="localization/ContentCountry.html" title="class in org.schabi.newpipe.extractor.localization">ContentCountry</a> 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="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="localization/ContentCountry.html#DEFAULT"><code>default</code></a> country.</li>
|
|
</ul></div>
|
|
</li>
|
|
</ul>
|
|
<a id="getTimeAgoParser(org.schabi.newpipe.extractor.localization.Localization)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getTimeAgoParser</h4>
|
|
<pre class="methodSignature">public <a href="localization/TimeAgoParser.html" title="class in org.schabi.newpipe.extractor.localization">TimeAgoParser</a> getTimeAgoParser​(<a href="localization/Localization.html" title="class in org.schabi.newpipe.extractor.localization">Localization</a> 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="#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>java.lang.IllegalArgumentException</code> - if the localization is not supported (parsing patterns are
|
|
not present).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.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" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses.html">All 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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|