2291 lines
204 KiB
HTML
2291 lines
204 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
|
|
<title>Deprecated List (ExoPlayer library)</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.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.5.1.js"></script>
|
|
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Deprecated List (ExoPlayer library)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var pathtoroot = "./";
|
|
var useModuleDirectories = false;
|
|
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>Package</li>
|
|
<li>Class</li>
|
|
<li><a href="overview-tree.html">Tree</a></li>
|
|
<li class="navBarCell1Rev">Deprecated</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>
|
|
<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>
|
|
<main role="main">
|
|
<div class="header">
|
|
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
|
<h2 title="Contents">Contents</h2>
|
|
<ul>
|
|
<li><a href="#interface">Interfaces</a></li>
|
|
<li><a href="#class">Classes</a></li>
|
|
<li><a href="#annotation.type">Annotation Types</a></li>
|
|
<li><a href="#field">Fields</a></li>
|
|
<li><a href="#method">Methods</a></li>
|
|
<li><a href="#constructor">Constructors</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="contentContainer"><a id="interface">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<caption><span>Interfaces</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Interface</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.ExoPlayer.AudioComponent</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.AudioComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.ExoPlayer.DeviceComponent</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.DeviceComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.ExoPlayer.TextComponent</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.TextComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.ExoPlayer.VideoComponent</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.VideoComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.Player.EventListener</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html" title="interface in com.google.android.exoplayer2"><code>Player.Listener</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a id="class">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<caption><span>Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/database/ExoDatabaseProvider.html" title="class in com.google.android.exoplayer2.database">com.google.android.exoplayer2.database.ExoDatabaseProvider</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/database/StandaloneDatabaseProvider.html" title="class in com.google.android.exoplayer2.database"><code>StandaloneDatabaseProvider</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSourceFactory.html" title="class in com.google.android.exoplayer2.ext.cronet">com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet"><code>CronetDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetEngineWrapper.html" title="class in com.google.android.exoplayer2.ext.cronet">com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <code>CronetEngine</code> directly. See the <a href="https://developer.android.com/guide/topics/connectivity/cronet/start">Android developer
|
|
guide</a> to learn how to instantiate a <code>CronetEngine</code> for use by your application. You
|
|
can also use <a href="com/google/android/exoplayer2/ext/cronet/CronetUtil.html#buildCronetEngine(android.content.Context)"><code>CronetUtil.buildCronetEngine(android.content.Context)</code></a> to build a <code>CronetEngine</code> suitable
|
|
for use with <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html" title="class in com.google.android.exoplayer2.ext.cronet"><code>CronetDataSource</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSourceFactory.html" title="class in com.google.android.exoplayer2.ext.okhttp">com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.okhttp"><code>OkHttpDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/rtmp/RtmpDataSourceFactory.html" title="class in com.google.android.exoplayer2.ext.rtmp">com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/rtmp/RtmpDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.rtmp"><code>RtmpDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.ClippingProperties.html" title="class in com.google.android.exoplayer2">com.google.android.exoplayer2.MediaItem.ClippingProperties</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.ClippingConfiguration</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.PlaybackProperties.html" title="class in com.google.android.exoplayer2">com.google.android.exoplayer2.MediaItem.PlaybackProperties</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.LocalConfiguration</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Subtitle.html" title="class in com.google.android.exoplayer2">com.google.android.exoplayer2.MediaItem.Subtitle</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.SubtitleConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.SubtitleConfiguration</code></a> instead</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html" title="class in com.google.android.exoplayer2">com.google.android.exoplayer2.SimpleExoPlayer</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html" title="class in com.google.android.exoplayer2">com.google.android.exoplayer2.SimpleExoPlayer.Builder</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2"><code>ExoPlayer.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/LoopingMediaSource.html" title="class in com.google.android.exoplayer2.source">com.google.android.exoplayer2.source.LoopingMediaSource</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">To loop a <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a> indefinitely, use <a href="com/google/android/exoplayer2/Player.html#setRepeatMode(@com.google.android.exoplayer2.Player.RepeatModeint)"><code>Player.setRepeatMode(int)</code></a>
|
|
instead of this class. To add a <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a> a specific number of times to the
|
|
playlist, use <a href="com/google/android/exoplayer2/ExoPlayer.html#addMediaSource(com.google.android.exoplayer2.source.MediaSource)"><code>ExoPlayer.addMediaSource(com.google.android.exoplayer2.source.MediaSource)</code></a> in a loop with the same <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a>.
|
|
To combine repeated <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a> instances into one <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a>, for example
|
|
to further wrap it in another <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a>, use <a href="com/google/android/exoplayer2/source/ConcatenatingMediaSource.html" title="class in com.google.android.exoplayer2.source"><code>ConcatenatingMediaSource</code></a> with
|
|
the same <a href="com/google/android/exoplayer2/source/MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a> <a href="com/google/android/exoplayer2/source/ConcatenatingMediaSource.html#addMediaSource(com.google.android.exoplayer2.source.MediaSource)"><code>added</code></a> multiple
|
|
times.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultDataSourceFactory.html" title="class in com.google.android.exoplayer2.upstream">com.google.android.exoplayer2.upstream.DefaultDataSourceFactory</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DefaultDataSource.Factory.html" title="class in com.google.android.exoplayer2.upstream"><code>DefaultDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/PriorityDataSourceFactory.html" title="class in com.google.android.exoplayer2.upstream">com.google.android.exoplayer2.upstream.PriorityDataSourceFactory</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/PriorityDataSource.Factory.html" title="class in com.google.android.exoplayer2.upstream"><code>PriorityDataSource.Factory</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a id="annotation.type">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<caption><span>Annotation Types</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Annotation Type</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.FormatSupport.html" title="annotation in com.google.android.exoplayer2">com.google.android.exoplayer2.RendererCapabilities.FormatSupport</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.FormatSupport.html" title="annotation in com.google.android.exoplayer2"><code>C.FormatSupport</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a id="field">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Field</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ASCII_NAME">com.google.android.exoplayer2.C.ASCII_NAME</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ISO88591_NAME">com.google.android.exoplayer2.C.ISO88591_NAME</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16_NAME">com.google.android.exoplayer2.C.UTF16_NAME</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16LE_NAME">com.google.android.exoplayer2.C.UTF16LE_NAME</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF8_NAME">com.google.android.exoplayer2.C.UTF8_NAME</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DUMMY">com.google.android.exoplayer2.drm.DrmSessionManager.DUMMY</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.html#clippingProperties">com.google.android.exoplayer2.MediaItem.clippingProperties</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#clippingConfiguration"><code>MediaItem.clippingConfiguration</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#requestHeaders">com.google.android.exoplayer2.MediaItem.DrmConfiguration.requestHeaders</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#licenseRequestHeaders"><code>MediaItem.DrmConfiguration.licenseRequestHeaders</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#sessionForClearTypes">com.google.android.exoplayer2.MediaItem.DrmConfiguration.sessionForClearTypes</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#forcedSessionTrackTypes"><code>MediaItem.DrmConfiguration.forcedSessionTrackTypes</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#uuid">com.google.android.exoplayer2.MediaItem.DrmConfiguration.uuid</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#scheme"><code>MediaItem.DrmConfiguration.scheme</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitles">com.google.android.exoplayer2.MediaItem.LocalConfiguration.subtitles</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitleConfigurations"><code>MediaItem.LocalConfiguration.subtitleConfigurations</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.html#playbackProperties">com.google.android.exoplayer2.MediaItem.playbackProperties</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#localConfiguration"><code>MediaItem.localConfiguration</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.html#year">com.google.android.exoplayer2.MediaMetadata.year</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaMetadata.html#recordingYear"><code>MediaMetadata.recordingYear</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#DEFAULT_TRACK_SELECTOR_PARAMETERS">com.google.android.exoplayer2.offline.DownloadHelper.DEFAULT_TRACK_SELECTOR_PARAMETERS</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">This instance does not have <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints. Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#getDefaultTrackSelectorParameters(android.content.Context)" target="_top"><code>DownloadHelper.getDefaultTrackSelectorParameters(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_VIEWPORT">com.google.android.exoplayer2.offline.DownloadHelper.DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_VIEWPORT</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">This instance does not have <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints. Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#getDefaultTrackSelectorParameters(android.content.Context)" target="_top"><code>DownloadHelper.getDefaultTrackSelectorParameters(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/StreamKey.html#trackIndex">com.google.android.exoplayer2.offline.StreamKey.trackIndex</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/StreamKey.html#streamIndex"><code>StreamKey.streamIndex</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_IN_CURRENT_WINDOW">com.google.android.exoplayer2.Player.COMMAND_SEEK_IN_CURRENT_WINDOW</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM"><code>Player.COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_NEXT_WINDOW">com.google.android.exoplayer2.Player.COMMAND_SEEK_TO_NEXT_WINDOW</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_NEXT_MEDIA_ITEM"><code>Player.COMMAND_SEEK_TO_NEXT_MEDIA_ITEM</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_PREVIOUS_WINDOW">com.google.android.exoplayer2.Player.COMMAND_SEEK_TO_PREVIOUS_WINDOW</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM"><code>Player.COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_WINDOW">com.google.android.exoplayer2.Player.COMMAND_SEEK_TO_WINDOW</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#COMMAND_SEEK_TO_MEDIA_ITEM"><code>Player.COMMAND_SEEK_TO_MEDIA_ITEM</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.PositionInfo.html#windowIndex">com.google.android.exoplayer2.Player.PositionInfo.windowIndex</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.PositionInfo.html#mediaItemIndex"><code>Player.PositionInfo.mediaItemIndex</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_EXCEEDS_CAPABILITIES">com.google.android.exoplayer2.RendererCapabilities.FORMAT_EXCEEDS_CAPABILITIES</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_EXCEEDS_CAPABILITIES"><code>C.FORMAT_EXCEEDS_CAPABILITIES</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_HANDLED">com.google.android.exoplayer2.RendererCapabilities.FORMAT_HANDLED</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_HANDLED"><code>C.FORMAT_HANDLED</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_UNSUPPORTED_DRM">com.google.android.exoplayer2.RendererCapabilities.FORMAT_UNSUPPORTED_DRM</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_DRM"><code>C.FORMAT_UNSUPPORTED_DRM</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_UNSUPPORTED_SUBTYPE">com.google.android.exoplayer2.RendererCapabilities.FORMAT_UNSUPPORTED_SUBTYPE</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_SUBTYPE"><code>C.FORMAT_UNSUPPORTED_SUBTYPE</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_UNSUPPORTED_TYPE">com.google.android.exoplayer2.RendererCapabilities.FORMAT_UNSUPPORTED_TYPE</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_TYPE"><code>C.FORMAT_UNSUPPORTED_TYPE</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.html#DEFAULT_LIVE_PRESENTATION_DELAY_MS">com.google.android.exoplayer2.source.dash.DashMediaSource.DEFAULT_LIVE_PRESENTATION_DELAY_MS</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.html#DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS"><code>DashMediaSource.DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#isLive">com.google.android.exoplayer2.Timeline.Window.isLive</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#isLive()"><code>Timeline.Window.isLive()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#tag">com.google.android.exoplayer2.Timeline.Window.tag</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#mediaItem"><code>Timeline.Window.mediaItem</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#DEFAULT">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.DEFAULT</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">This instance is not configured using <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints. Use <a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#getDefaults(android.content.Context)" target="_top"><code>DefaultTrackSelector.Parameters.getDefaults(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#DEFAULT">com.google.android.exoplayer2.trackselection.TrackSelectionParameters.DEFAULT</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">This instance is not configured using <a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints. Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#getDefaults(android.content.Context)" target="_top"><code>TrackSelectionParameters.getDefaults(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSourceException.html#POSITION_OUT_OF_RANGE">com.google.android.exoplayer2.upstream.DataSourceException.POSITION_OUT_OF_RANGE</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/PlaybackException.html#ERROR_CODE_IO_READ_POSITION_OUT_OF_RANGE"><code>PlaybackException.ERROR_CODE_IO_READ_POSITION_OUT_OF_RANGE</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#absoluteStreamPosition">com.google.android.exoplayer2.upstream.DataSpec.absoluteStreamPosition</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DataSpec.html#position"><code>DataSpec.position</code></a> except for specific use cases where the absolute position
|
|
within the resource is required within a <a href="com/google/android/exoplayer2/upstream/DataSource.html" title="interface in com.google.android.exoplayer2.upstream"><code>DataSource</code></a> chain. Where the absolute
|
|
position is required, use <code>uriPositionOffset + position</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultLoadErrorHandlingPolicy.html#DEFAULT_TRACK_BLACKLIST_MS">com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy.DEFAULT_TRACK_BLACKLIST_MS</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DefaultLoadErrorHandlingPolicy.html#DEFAULT_TRACK_EXCLUSION_MS"><code>DefaultLoadErrorHandlingPolicy.DEFAULT_TRACK_EXCLUSION_MS</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a id="method">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onAudioDecoderInitialized​(AnalyticsListener.EventTime, String, long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long,long)"><code>AnalyticsListener.onAudioDecoderInitialized(EventTime, String, long, long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onAudioInputFormatChanged​(AnalyticsListener.EventTime, Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>AnalyticsListener.onAudioInputFormatChanged(EventTime, Format, DecoderReuseEvaluation)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.decoder.DecoderCounters)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderDisabled​(AnalyticsListener.EventTime, int, DecoderCounters)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.decoder.DecoderCounters)"><code>AnalyticsListener.onAudioDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, com.google.android.exoplayer2.decoder.DecoderCounters)</code></a> and <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.decoder.DecoderCounters)"><code>AnalyticsListener.onVideoDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, com.google.android.exoplayer2.decoder.DecoderCounters)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.decoder.DecoderCounters)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderEnabled​(AnalyticsListener.EventTime, int, DecoderCounters)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.decoder.DecoderCounters)"><code>AnalyticsListener.onAudioEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, com.google.android.exoplayer2.decoder.DecoderCounters)</code></a> and <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.decoder.DecoderCounters)"><code>AnalyticsListener.onVideoEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, com.google.android.exoplayer2.decoder.DecoderCounters)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderInitialized​(AnalyticsListener.EventTime, int, String, long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long,long)"><code>AnalyticsListener.onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, java.lang.String, long, long)</code></a> and <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long,long)"><code>AnalyticsListener.onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, java.lang.String, long, long)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderInputFormatChanged​(AnalyticsListener.EventTime, int, Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>AnalyticsListener.onAudioInputFormatChanged(EventTime, Format, DecoderReuseEvaluation)</code></a>
|
|
and <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>AnalyticsListener.onVideoInputFormatChanged(EventTime, Format, DecoderReuseEvaluation)</code></a>. instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDrmSessionAcquired(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDrmSessionAcquired​(AnalyticsListener.EventTime)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDrmSessionAcquired(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int)"><code>AnalyticsListener.onDrmSessionAcquired(EventTime, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onLoadingChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean)">com.google.android.exoplayer2.analytics.AnalyticsListener.onLoadingChanged​(AnalyticsListener.EventTime, boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onIsLoadingChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean)"><code>AnalyticsListener.onIsLoadingChanged(EventTime, boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPlayerStateChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean,@com.google.android.exoplayer2.Player.Stateint)">com.google.android.exoplayer2.analytics.AnalyticsListener.onPlayerStateChanged​(AnalyticsListener.EventTime, boolean, @com.google.android.exoplayer2.Player.State int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPlaybackStateChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,@com.google.android.exoplayer2.Player.Stateint)"><code>AnalyticsListener.onPlaybackStateChanged(EventTime, int)</code></a> and <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPlayWhenReadyChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)"><code>AnalyticsListener.onPlayWhenReadyChanged(EventTime, boolean, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)">com.google.android.exoplayer2.analytics.AnalyticsListener.onPositionDiscontinuity​(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>AnalyticsListener.onPositionDiscontinuity(EventTime, Player.PositionInfo,
|
|
Player.PositionInfo, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onSeekProcessed(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onSeekProcessed​(AnalyticsListener.EventTime)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Seeks are processed without delay. Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>AnalyticsListener.onPositionDiscontinuity(EventTime,
|
|
int)</code></a> with reason <a href="com/google/android/exoplayer2/Player.html#DISCONTINUITY_REASON_SEEK"><code>Player.DISCONTINUITY_REASON_SEEK</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onSeekStarted(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onSeekStarted​(AnalyticsListener.EventTime)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>AnalyticsListener.onPositionDiscontinuity(EventTime, Player.PositionInfo,
|
|
Player.PositionInfo, int)</code></a> instead, listening to changes with <a href="com/google/android/exoplayer2/Player.html#DISCONTINUITY_REASON_SEEK"><code>Player.DISCONTINUITY_REASON_SEEK</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onTracksChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.TrackSelectionArray)">com.google.android.exoplayer2.analytics.AnalyticsListener.onTracksChanged​(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onTracksInfoChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.TracksInfo)"><code>AnalyticsListener.onTracksInfoChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime, com.google.android.exoplayer2.TracksInfo)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoDecoderInitialized​(AnalyticsListener.EventTime, String, long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long,long)"><code>AnalyticsListener.onVideoDecoderInitialized(EventTime, String, long, long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoInputFormatChanged​(AnalyticsListener.EventTime, Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>AnalyticsListener.onVideoInputFormatChanged(EventTime, Format, DecoderReuseEvaluation)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoSizeChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,int,int,float)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoSizeChanged​(AnalyticsListener.EventTime, int, int, int, float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoSizeChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.video.VideoSize)"><code>AnalyticsListener.onVideoSizeChanged(EventTime eventTime, VideoSize)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/audio/AudioRendererEventListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.audio.AudioRendererEventListener.onAudioInputFormatChanged​(Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/audio/AudioRendererEventListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>AudioRendererEventListener.onAudioInputFormatChanged(Format, DecoderReuseEvaluation)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.BasePlayer.getCurrentWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.BasePlayer.getNextWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.BasePlayer.getPreviousWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNext()">com.google.android.exoplayer2.BasePlayer.hasNext()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNextWindow()">com.google.android.exoplayer2.BasePlayer.hasNextWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPrevious()">com.google.android.exoplayer2.BasePlayer.hasPrevious()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.BasePlayer.hasPreviousWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowDynamic()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowLive()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowSeekable()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#next()">com.google.android.exoplayer2.BasePlayer.next()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#previous()">com.google.android.exoplayer2.BasePlayer.previous()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToNextWindow()">com.google.android.exoplayer2.BasePlayer.seekToNextWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.BasePlayer.seekToPreviousWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#generateAudioSessionIdV21(android.content.Context)">com.google.android.exoplayer2.C.generateAudioSessionIdV21​(Context)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#generateAudioSessionIdV21(android.content.Context)"><code>Util.generateAudioSessionIdV21(Context)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#getErrorCodeForMediaDrmErrorCode(int)">com.google.android.exoplayer2.C.getErrorCodeForMediaDrmErrorCode​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getErrorCodeForMediaDrmErrorCode(int)"><code>Util.getErrorCodeForMediaDrmErrorCode(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#getFormatSupportString(int)">com.google.android.exoplayer2.C.getFormatSupportString​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getFormatSupportString(int)"><code>Util.getFormatSupportString(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#msToUs(long)">com.google.android.exoplayer2.C.msToUs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#msToUs(long)"><code>Util.msToUs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#usToMs(long)">com.google.android.exoplayer2.C.usToMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#usToMs(long)"><code>Util.usToMs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#createDefaultLoadControl()">com.google.android.exoplayer2.DefaultLoadControl.Builder.createDefaultLoadControl()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">use <a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#build()"><code>DefaultLoadControl.Builder.build()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionEventListener.html#onDrmSessionAcquired(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">com.google.android.exoplayer2.drm.DrmSessionEventListener.onDrmSessionAcquired​(int, MediaSource.MediaPeriodId)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/drm/DrmSessionEventListener.html#onDrmSessionAcquired(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,int)"><code>DrmSessionEventListener.onDrmSessionAcquired(int, MediaPeriodId, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#getDummyDrmSessionManager()">com.google.android.exoplayer2.drm.DrmSessionManager.getDummyDrmSessionManager()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlaybackException.html#createForUnexpected(java.lang.RuntimeException)">com.google.android.exoplayer2.ExoPlaybackException.createForUnexpected​(RuntimeException)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlaybackException.html#createForUnexpected(java.lang.RuntimeException,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint)"><code>createForUnexpected(RuntimeException, ERROR_CODE_UNSPECIFIED)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ExoPlayer.addListener​(Player.EventListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/Player.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.removeListener(Listener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#clearAuxEffectInfo()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.clearAuxEffectInfo()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#clearAuxEffectInfo()"><code>ExoPlayer.clearAuxEffectInfo()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioAttributes()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioAttributes()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getAudioAttributes()"><code>Player.getAudioAttributes()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioSessionId()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioSessionId()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioSessionId()"><code>ExoPlayer.getAudioSessionId()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getSkipSilenceEnabled()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getSkipSilenceEnabled()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getSkipSilenceEnabled()"><code>ExoPlayer.getSkipSilenceEnabled()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getVolume()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getVolume()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVolume()"><code>Player.getVolume()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAudioAttributes​(AudioAttributes, boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)"><code>ExoPlayer.setAudioAttributes(AudioAttributes, boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAudioSessionId(int)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAudioSessionId​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setAudioSessionId(int)"><code>ExoPlayer.setAudioSessionId(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAuxEffectInfo(com.google.android.exoplayer2.audio.AuxEffectInfo)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAuxEffectInfo​(AuxEffectInfo)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setAuxEffectInfo(com.google.android.exoplayer2.audio.AuxEffectInfo)"><code>ExoPlayer.setAuxEffectInfo(AuxEffectInfo)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setSkipSilenceEnabled(boolean)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setSkipSilenceEnabled​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.setSkipSilenceEnabled(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setVolume(float)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setVolume​(float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVolume(float)"><code>Player.setVolume(float)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#decreaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.decreaseDeviceVolume()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#decreaseDeviceVolume()"><code>Player.decreaseDeviceVolume()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceInfo()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceInfo()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceInfo()"><code>Player.getDeviceInfo()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceVolume()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceVolume()"><code>Player.getDeviceVolume()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#increaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.increaseDeviceVolume()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#increaseDeviceVolume()"><code>Player.increaseDeviceVolume()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#isDeviceMuted()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.isDeviceMuted()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isDeviceMuted()"><code>Player.isDeviceMuted()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceMuted(boolean)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceMuted​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceMuted(boolean)"><code>Player.setDeviceMuted(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceVolume(int)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceVolume​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceVolume(int)"><code>Player.setDeviceVolume(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.ExoPlayer.getAudioComponent()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.AudioComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.ExoPlayer.getDeviceComponent()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.DeviceComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.ExoPlayer.getTextComponent()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html" title="interface in com.google.android.exoplayer2"><code>Player</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.TextComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.ExoPlayer.getVideoComponent()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer</code></a>, as the <a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html" title="interface in com.google.android.exoplayer2"><code>ExoPlayer.VideoComponent</code></a> methods are defined by that
|
|
interface.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.ExoPlayer.prepare​(MediaSource)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setMediaSource(com.google.android.exoplayer2.source.MediaSource)"><code>ExoPlayer.setMediaSource(MediaSource)</code></a> and <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>Player.prepare()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ExoPlayer.removeListener​(Player.EventListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/Player.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.removeListener(Listener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#retry()">com.google.android.exoplayer2.ExoPlayer.retry()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>Player.prepare()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.ExoPlayer.setHandleWakeLock​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setWakeMode(@com.google.android.exoplayer2.C.WakeModeint)"><code>ExoPlayer.setWakeMode(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.ExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Disabling the enforcement can result in hard-to-detect bugs. Do not use this method
|
|
except to ease the transition while wrong thread access problems are fixed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html#getCurrentCues()">com.google.android.exoplayer2.ExoPlayer.TextComponent.getCurrentCues()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentCues()"><code>Player.getCurrentCues()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearCameraMotionListener​(CameraMotionListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#clearCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)"><code>ExoPlayer.clearCameraMotionListener(CameraMotionListener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoFrameMetadataListener​(VideoFrameMetadataListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#clearVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)"><code>ExoPlayer.clearVideoFrameMetadataListener(VideoFrameMetadataListener)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurface()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurface()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurface()"><code>Player.clearVideoSurface()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurfaceHolder(android.view.SurfaceHolder)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurfaceHolder​(SurfaceHolder)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.clearVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurfaceView(android.view.SurfaceView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurfaceView​(SurfaceView)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceView(android.view.SurfaceView)"><code>Player.clearVideoSurfaceView(SurfaceView)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoTextureView(android.view.TextureView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoTextureView​(TextureView)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoTextureView(android.view.TextureView)"><code>Player.clearVideoTextureView(TextureView)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoChangeFrameRateStrategy()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoChangeFrameRateStrategy()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoChangeFrameRateStrategy()"><code>ExoPlayer.getVideoChangeFrameRateStrategy()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoScalingMode()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoScalingMode()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoScalingMode()"><code>ExoPlayer.getVideoScalingMode()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoSize()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoSize()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVideoSize()"><code>Player.getVideoSize()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setCameraMotionListener​(CameraMotionListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)"><code>ExoPlayer.setCameraMotionListener(CameraMotionListener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoChangeFrameRateStrategy(int)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoChangeFrameRateStrategy​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoChangeFrameRateStrategy(int)"><code>ExoPlayer.setVideoChangeFrameRateStrategy(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoFrameMetadataListener​(VideoFrameMetadataListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)"><code>ExoPlayer.setVideoFrameMetadataListener(VideoFrameMetadataListener)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoScalingMode(int)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoScalingMode​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoScalingMode(int)"><code>ExoPlayer.setVideoScalingMode(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurface(android.view.Surface)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurface​(Surface)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurface(android.view.Surface)"><code>Player.setVideoSurface(Surface)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurfaceHolder(android.view.SurfaceHolder)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurfaceHolder​(SurfaceHolder)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.setVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurfaceView(android.view.SurfaceView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurfaceView​(SurfaceView)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceView(android.view.SurfaceView)"><code>Player.setVideoSurfaceView(SurfaceView)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoTextureView(android.view.TextureView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoTextureView​(TextureView)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoTextureView(android.view.TextureView)"><code>Player.setVideoTextureView(TextureView)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ext.cast.CastPlayer.addListener​(Player.EventListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.removeListener(Listener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ext.cast.CastPlayer.removeListener​(Player.EventListener)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.removeListener(Listener)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#stop(boolean)">com.google.android.exoplayer2.ext.cast.CastPlayer.stop​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html#setFallbackFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory.setFallbackFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Do not use <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html" title="class in com.google.android.exoplayer2.ext.cronet"><code>CronetDataSource</code></a> or its factory in cases where a suitable
|
|
<code>CronetEngine</code> is not available. Use the fallback factory directly in such cases.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.setContentTypePredicate​(Predicate<String>)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.setContentTypePredicate​(Predicate<String>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.Factory.html#setContentTypePredicate(com.google.common.base.Predicate)"><code>OkHttpDataSource.Factory.setContentTypePredicate(Predicate)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithBitrate(int)">com.google.android.exoplayer2.Format.copyWithBitrate​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setAverageBitrate(int)"><code>Format.Builder.setAverageBitrate(int)</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setPeakBitrate(int)"><code>Format.Builder.setPeakBitrate(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithDrmInitData(com.google.android.exoplayer2.drm.DrmInitData)">com.google.android.exoplayer2.Format.copyWithDrmInitData​(DrmInitData)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setDrmInitData(com.google.android.exoplayer2.drm.DrmInitData)"><code>Format.Builder.setDrmInitData(DrmInitData)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithFrameRate(float)">com.google.android.exoplayer2.Format.copyWithFrameRate​(float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setFrameRate(float)"><code>Format.Builder.setFrameRate(float)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithGaplessInfo(int,int)">com.google.android.exoplayer2.Format.copyWithGaplessInfo​(int, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a>, <a href="com/google/android/exoplayer2/Format.Builder.html#setEncoderDelay(int)"><code>Format.Builder.setEncoderDelay(int)</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setEncoderPadding(int)"><code>Format.Builder.setEncoderPadding(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithLabel(java.lang.String)">com.google.android.exoplayer2.Format.copyWithLabel​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setLabel(java.lang.String)"><code>Format.Builder.setLabel(String)</code></a> .</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithManifestFormatInfo(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.Format.copyWithManifestFormatInfo​(Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#withManifestFormatInfo(com.google.android.exoplayer2.Format)"><code>Format.withManifestFormatInfo(Format)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMaxInputSize(int)">com.google.android.exoplayer2.Format.copyWithMaxInputSize​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setMaxInputSize(int)"><code>Format.Builder.setMaxInputSize(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMetadata(com.google.android.exoplayer2.metadata.Metadata)">com.google.android.exoplayer2.Format.copyWithMetadata​(Metadata)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setMetadata(com.google.android.exoplayer2.metadata.Metadata)"><code>Format.Builder.setMetadata(Metadata)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithSubsampleOffsetUs(long)">com.google.android.exoplayer2.Format.copyWithSubsampleOffsetUs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setSubsampleOffsetUs(long)"><code>Format.Builder.setSubsampleOffsetUs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithVideoSize(int,int)">com.google.android.exoplayer2.Format.copyWithVideoSize​(int, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.html#buildUpon()"><code>Format.buildUpon()</code></a>, <a href="com/google/android/exoplayer2/Format.Builder.html#setWidth(int)"><code>Format.Builder.setWidth(int)</code></a> and <a href="com/google/android/exoplayer2/Format.Builder.html#setHeight(int)"><code>Format.Builder.setHeight(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createAudioSampleFormat(java.lang.String,java.lang.String,java.lang.String,int,int,int,int,java.util.List,com.google.android.exoplayer2.drm.DrmInitData,@com.google.android.exoplayer2.C.SelectionFlagsint,java.lang.String)">com.google.android.exoplayer2.Format.createAudioSampleFormat​(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.Builder.html" title="class in com.google.android.exoplayer2"><code>Format.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createContainerFormat(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,@com.google.android.exoplayer2.C.SelectionFlagsint,@com.google.android.exoplayer2.C.RoleFlagsint,java.lang.String)">com.google.android.exoplayer2.Format.createContainerFormat​(String, String, String, String, String, int, @com.google.android.exoplayer2.C.SelectionFlags int, @com.google.android.exoplayer2.C.RoleFlags int, String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.Builder.html" title="class in com.google.android.exoplayer2"><code>Format.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createSampleFormat(java.lang.String,java.lang.String)">com.google.android.exoplayer2.Format.createSampleFormat​(String, String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.Builder.html" title="class in com.google.android.exoplayer2"><code>Format.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createVideoSampleFormat(java.lang.String,java.lang.String,java.lang.String,int,int,int,int,float,java.util.List,com.google.android.exoplayer2.drm.DrmInitData)">com.google.android.exoplayer2.Format.createVideoSampleFormat​(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Format.Builder.html" title="class in com.google.android.exoplayer2"><code>Format.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)">com.google.android.exoplayer2.ForwardingPlayer.addListener​(Player.Listener)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getApplicationLooper()">com.google.android.exoplayer2.ForwardingPlayer.getApplicationLooper()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getNextWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getPreviousWindowIndex()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNext()">com.google.android.exoplayer2.ForwardingPlayer.hasNext()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasNextWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPrevious()">com.google.android.exoplayer2.ForwardingPlayer.hasPrevious()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasPreviousWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowDynamic()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowLive()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowSeekable()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#next()">com.google.android.exoplayer2.ForwardingPlayer.next()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#previous()">com.google.android.exoplayer2.ForwardingPlayer.previous()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToNextWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToPreviousWindow()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#stop(boolean)">com.google.android.exoplayer2.ForwardingPlayer.stop​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/mediacodec/MediaCodecInfo.html#isSeamlessAdaptationSupported(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.Format,boolean)">com.google.android.exoplayer2.mediacodec.MediaCodecInfo.isSeamlessAdaptationSupported​(Format, Format, boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/mediacodec/MediaCodecInfo.html#canReuseCodec(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.Format)"><code>MediaCodecInfo.canReuseCodec(com.google.android.exoplayer2.Format, com.google.android.exoplayer2.Format)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setAdTagUri(java.lang.String)">com.google.android.exoplayer2.MediaItem.Builder.setAdTagUri​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setAdsConfiguration(com.google.android.exoplayer2.MediaItem.AdsConfiguration)"><code>MediaItem.Builder.setAdsConfiguration(AdsConfiguration)</code></a>, parse the <code>adTagUri</code>
|
|
with <a href="https://developer.android.com/reference/android/net/Uri.html#parse(java.lang.String)" title="class or interface in android.net" class="externalLink"><code>Uri.parse(String)</code></a> and pass the result to <a href="com/google/android/exoplayer2/MediaItem.AdsConfiguration.Builder.html#%3Cinit%3E(android.net.Uri)" target="_top"><code>Builder(Uri)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipEndPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipEndPositionMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>MediaItem.Builder.setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#setEndPositionMs(long)"><code>MediaItem.ClippingConfiguration.Builder.setEndPositionMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToDefaultPosition(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToDefaultPosition​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>MediaItem.Builder.setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#setRelativeToDefaultPosition(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setRelativeToDefaultPosition(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToLiveWindow(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToLiveWindow​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>MediaItem.Builder.setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#setRelativeToLiveWindow(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setRelativeToLiveWindow(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartPositionMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>MediaItem.Builder.setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#setStartPositionMs(long)"><code>MediaItem.ClippingConfiguration.Builder.setStartPositionMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartsAtKeyFrame(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartsAtKeyFrame​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClippingConfiguration(com.google.android.exoplayer2.MediaItem.ClippingConfiguration)"><code>MediaItem.Builder.setClippingConfiguration(ClippingConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#setStartsAtKeyFrame(boolean)"><code>MediaItem.ClippingConfiguration.Builder.setStartsAtKeyFrame(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmForceDefaultLicenseUri(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmForceDefaultLicenseUri​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setForceDefaultLicenseUri(boolean)"><code>MediaItem.DrmConfiguration.Builder.setForceDefaultLicenseUri(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmKeySetId(byte%5B%5D)">com.google.android.exoplayer2.MediaItem.Builder.setDrmKeySetId​(byte[])</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setKeySetId(byte%5B%5D)"><code>MediaItem.DrmConfiguration.Builder.setKeySetId(byte[])</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmLicenseRequestHeaders(java.util.Map)">com.google.android.exoplayer2.MediaItem.Builder.setDrmLicenseRequestHeaders​(Map<String, String>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setLicenseRequestHeaders(java.util.Map)"><code>MediaItem.DrmConfiguration.Builder.setLicenseRequestHeaders(Map)</code></a> instead. Note that <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setLicenseRequestHeaders(java.util.Map)"><code>MediaItem.DrmConfiguration.Builder.setLicenseRequestHeaders(Map)</code></a> doesn't accept null, use an empty
|
|
map to clear the headers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmLicenseUri(android.net.Uri)">com.google.android.exoplayer2.MediaItem.Builder.setDrmLicenseUri​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setLicenseUri(android.net.Uri)"><code>MediaItem.DrmConfiguration.Builder.setLicenseUri(Uri)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmMultiSession(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmMultiSession​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setMultiSession(boolean)"><code>MediaItem.DrmConfiguration.Builder.setMultiSession(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmPlayClearContentWithoutKey(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmPlayClearContentWithoutKey​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setPlayClearContentWithoutKey(boolean)"><code>MediaItem.DrmConfiguration.Builder.setPlayClearContentWithoutKey(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmSessionForClearPeriods(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmSessionForClearPeriods​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#forceSessionsForAudioAndVideoTracks(boolean)"><code>MediaItem.DrmConfiguration.Builder.forceSessionsForAudioAndVideoTracks(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmSessionForClearTypes(java.util.List)">com.google.android.exoplayer2.MediaItem.Builder.setDrmSessionForClearTypes​(List<Integer>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setForcedSessionTrackTypes(java.util.List)"><code>MediaItem.DrmConfiguration.Builder.setForcedSessionTrackTypes(List)</code></a> instead. Note that <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#setForcedSessionTrackTypes(java.util.List)"><code>MediaItem.DrmConfiguration.Builder.setForcedSessionTrackTypes(List)</code></a> doesn't accept null, use an
|
|
empty list to clear the contents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmUuid(java.util.UUID)">com.google.android.exoplayer2.MediaItem.Builder.setDrmUuid​(UUID)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmConfiguration(com.google.android.exoplayer2.MediaItem.DrmConfiguration)"><code>MediaItem.Builder.setDrmConfiguration(DrmConfiguration)</code></a> and pass the <code>uuid</code> to
|
|
<a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#%3Cinit%3E(java.util.UUID)"><code>Builder(UUID)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxOffsetMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(LiveConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setMaxOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setMaxOffsetMs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxPlaybackSpeed​(float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(LiveConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setMaxPlaybackSpeed(float)"><code>MediaItem.LiveConfiguration.Builder.setMaxPlaybackSpeed(float)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinOffsetMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(LiveConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setMinOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setMinOffsetMs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinPlaybackSpeed​(float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(LiveConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setMinPlaybackSpeed(float)"><code>MediaItem.LiveConfiguration.Builder.setMinPlaybackSpeed(float)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveTargetOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveTargetOffsetMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(LiveConfiguration)</code></a> and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setTargetOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setTargetOffsetMs(long)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setSubtitles(java.util.List)">com.google.android.exoplayer2.MediaItem.Builder.setSubtitles​(List<MediaItem.Subtitle>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setSubtitleConfigurations(java.util.List)"><code>MediaItem.Builder.setSubtitleConfigurations(List)</code></a> instead. Note that <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setSubtitleConfigurations(java.util.List)"><code>MediaItem.Builder.setSubtitleConfigurations(List)</code></a> doesn't accept null, use an empty list to clear the
|
|
contents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#buildClippingProperties()">com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder.buildClippingProperties()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#build()"><code>MediaItem.ClippingConfiguration.Builder.build()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setArtworkData(byte%5B%5D)">com.google.android.exoplayer2.MediaMetadata.Builder.setArtworkData​(byte[])</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setArtworkData(byte%5B%5D,java.lang.Integer)"><code>MediaMetadata.Builder.setArtworkData(byte[] data, Integer pictureType)</code></a> or <a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#maybeSetArtworkData(byte%5B%5D,@com.google.android.exoplayer2.MediaMetadata.PictureTypeint)"><code>MediaMetadata.Builder.maybeSetArtworkData(byte[] data, int pictureType)</code></a>, providing a <a href="com/google/android/exoplayer2/MediaMetadata.PictureType.html" title="annotation in com.google.android.exoplayer2"><code>MediaMetadata.PictureType</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setYear(java.lang.Integer)">com.google.android.exoplayer2.MediaMetadata.Builder.setYear​(Integer)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setRecordingYear(java.lang.Integer)"><code>MediaMetadata.Builder.setRecordingYear(Integer)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forDash(android.content.Context,android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forDash​(Context, Uri, DataSource.Factory, RenderersFactory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forMediaItem(com.google.android.exoplayer2.MediaItem,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters,com.google.android.exoplayer2.RenderersFactory,com.google.android.exoplayer2.upstream.DataSource.Factory)"><code>DownloadHelper.forMediaItem(MediaItem, Parameters, RenderersFactory,
|
|
DataSource.Factory)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forHls(android.content.Context,android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forHls​(Context, Uri, DataSource.Factory, RenderersFactory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forMediaItem(com.google.android.exoplayer2.MediaItem,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters,com.google.android.exoplayer2.RenderersFactory,com.google.android.exoplayer2.upstream.DataSource.Factory)"><code>DownloadHelper.forMediaItem(MediaItem, Parameters, RenderersFactory,
|
|
DataSource.Factory)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forProgressive(android.content.Context,android.net.Uri)">com.google.android.exoplayer2.offline.DownloadHelper.forProgressive​(Context, Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forMediaItem(android.content.Context,com.google.android.exoplayer2.MediaItem)"><code>DownloadHelper.forMediaItem(Context, MediaItem)</code></a></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forSmoothStreaming(android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forSmoothStreaming​(Uri, DataSource.Factory, RenderersFactory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forMediaItem(com.google.android.exoplayer2.MediaItem,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters,com.google.android.exoplayer2.RenderersFactory,com.google.android.exoplayer2.upstream.DataSource.Factory)"><code>DownloadHelper.forMediaItem(MediaItem, Parameters, RenderersFactory,
|
|
DataSource.Factory)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onLoadingChanged(boolean)">com.google.android.exoplayer2.Player.EventListener.onLoadingChanged​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onIsLoadingChanged(boolean)"><code>Player.EventListener.onIsLoadingChanged(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onPlayerStateChanged(boolean,@com.google.android.exoplayer2.Player.Stateint)">com.google.android.exoplayer2.Player.EventListener.onPlayerStateChanged​(boolean, @com.google.android.exoplayer2.Player.State int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onPlaybackStateChanged(@com.google.android.exoplayer2.Player.Stateint)"><code>Player.EventListener.onPlaybackStateChanged(int)</code></a> and <a href="com/google/android/exoplayer2/Player.EventListener.html#onPlayWhenReadyChanged(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)"><code>Player.EventListener.onPlayWhenReadyChanged(boolean, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(@com.google.android.exoplayer2.Player.DiscontinuityReasonint)">com.google.android.exoplayer2.Player.EventListener.onPositionDiscontinuity​(@com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.EventListener.onPositionDiscontinuity(PositionInfo, PositionInfo, int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onSeekProcessed()">com.google.android.exoplayer2.Player.EventListener.onSeekProcessed()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Seeks are processed without delay. Listen to <a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.EventListener.onPositionDiscontinuity(PositionInfo, PositionInfo, int)</code></a> with reason <a href="com/google/android/exoplayer2/Player.html#DISCONTINUITY_REASON_SEEK"><code>Player.DISCONTINUITY_REASON_SEEK</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onTracksChanged(com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.TrackSelectionArray)">com.google.android.exoplayer2.Player.EventListener.onTracksChanged​(TrackGroupArray, TrackSelectionArray)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onTracksInfoChanged(com.google.android.exoplayer2.TracksInfo)"><code>Player.EventListener.onTracksInfoChanged(TracksInfo)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackGroups()">com.google.android.exoplayer2.Player.getCurrentTrackGroups()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackSelections()">com.google.android.exoplayer2.Player.getCurrentTrackSelections()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentWindowIndex()">com.google.android.exoplayer2.Player.getCurrentWindowIndex()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentMediaItemIndex()"><code>Player.getCurrentMediaItemIndex()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getNextWindowIndex()">com.google.android.exoplayer2.Player.getNextWindowIndex()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getNextMediaItemIndex()"><code>Player.getNextMediaItemIndex()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getPreviousWindowIndex()">com.google.android.exoplayer2.Player.getPreviousWindowIndex()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getPreviousMediaItemIndex()"><code>Player.getPreviousMediaItemIndex()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNext()">com.google.android.exoplayer2.Player.hasNext()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNextWindow()">com.google.android.exoplayer2.Player.hasNextWindow()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPrevious()">com.google.android.exoplayer2.Player.hasPrevious()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPreviousWindow()">com.google.android.exoplayer2.Player.hasPreviousWindow()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.Player.isCurrentWindowDynamic()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemDynamic()"><code>Player.isCurrentMediaItemDynamic()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowLive()">com.google.android.exoplayer2.Player.isCurrentWindowLive()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemLive()"><code>Player.isCurrentMediaItemLive()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.Player.isCurrentWindowSeekable()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemSeekable()"><code>Player.isCurrentMediaItemSeekable()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#next()">com.google.android.exoplayer2.Player.next()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#previous()">com.google.android.exoplayer2.Player.previous()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToNextWindow()">com.google.android.exoplayer2.Player.seekToNextWindow()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToPreviousWindow()">com.google.android.exoplayer2.Player.seekToPreviousWindow()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#stop(boolean)">com.google.android.exoplayer2.Player.stop​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#stop()"><code>Player.stop()</code></a> and <a href="com/google/android/exoplayer2/Player.html#clearMediaItems()"><code>Player.clearMediaItems()</code></a> (if <code>reset</code> is true) or
|
|
just <a href="com/google/android/exoplayer2/Player.html#stop()"><code>Player.stop()</code></a> (if <code>reset</code> is false). Any player error will be cleared when
|
|
<a href="com/google/android/exoplayer2/Player.html#prepare()"><code>re-preparing</code></a> the player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/PlayerMessage.html#setHandler(android.os.Handler)">com.google.android.exoplayer2.PlayerMessage.setHandler​(Handler)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/PlayerMessage.html#setLooper(android.os.Looper)"><code>PlayerMessage.setLooper(Looper)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.SimpleExoPlayer.addListener​(Player.EventListener)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#build()">com.google.android.exoplayer2.SimpleExoPlayer.Builder.build()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#build()"><code>ExoPlayer.Builder.build()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)"><code>ExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs(long)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setAnalyticsCollector(com.google.android.exoplayer2.analytics.AnalyticsCollector)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setAnalyticsCollector​(AnalyticsCollector)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setAnalyticsCollector(com.google.android.exoplayer2.analytics.AnalyticsCollector)"><code>ExoPlayer.Builder.setAnalyticsCollector(AnalyticsCollector)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setAudioAttributes​(AudioAttributes, boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)"><code>ExoPlayer.Builder.setAudioAttributes(AudioAttributes, boolean)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setBandwidthMeter(com.google.android.exoplayer2.upstream.BandwidthMeter)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setBandwidthMeter​(BandwidthMeter)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setBandwidthMeter(com.google.android.exoplayer2.upstream.BandwidthMeter)"><code>ExoPlayer.Builder.setBandwidthMeter(BandwidthMeter)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setClock(com.google.android.exoplayer2.util.Clock)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setClock​(Clock)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setClock(com.google.android.exoplayer2.util.Clock)"><code>ExoPlayer.Builder.setClock(Clock)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setDetachSurfaceTimeoutMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)"><code>ExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setHandleAudioBecomingNoisy​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)"><code>ExoPlayer.Builder.setHandleAudioBecomingNoisy(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLivePlaybackSpeedControl(com.google.android.exoplayer2.LivePlaybackSpeedControl)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLivePlaybackSpeedControl​(LivePlaybackSpeedControl)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setLivePlaybackSpeedControl(com.google.android.exoplayer2.LivePlaybackSpeedControl)"><code>ExoPlayer.Builder.setLivePlaybackSpeedControl(LivePlaybackSpeedControl)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLoadControl(com.google.android.exoplayer2.LoadControl)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLoadControl​(LoadControl)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setLoadControl(com.google.android.exoplayer2.LoadControl)"><code>ExoPlayer.Builder.setLoadControl(LoadControl)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLooper(android.os.Looper)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLooper​(Looper)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setLooper(android.os.Looper)"><code>ExoPlayer.Builder.setLooper(Looper)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSourceFactory)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setMediaSourceFactory​(MediaSourceFactory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSourceFactory)"><code>ExoPlayer.Builder.setMediaSourceFactory(MediaSourceFactory)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setPauseAtEndOfMediaItems​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)"><code>ExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setPriorityTaskManager(com.google.android.exoplayer2.util.PriorityTaskManager)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setPriorityTaskManager​(PriorityTaskManager)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setPriorityTaskManager(com.google.android.exoplayer2.util.PriorityTaskManager)"><code>ExoPlayer.Builder.setPriorityTaskManager(PriorityTaskManager)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setReleaseTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setReleaseTimeoutMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setReleaseTimeoutMs(long)"><code>ExoPlayer.Builder.setReleaseTimeoutMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekBackIncrementMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekBackIncrementMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekBackIncrementMs(long)"><code>ExoPlayer.Builder.setSeekBackIncrementMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekForwardIncrementMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekForwardIncrementMs​(long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekForwardIncrementMs(long)"><code>ExoPlayer.Builder.setSeekForwardIncrementMs(long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekParameters(com.google.android.exoplayer2.SeekParameters)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekParameters​(SeekParameters)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekParameters(com.google.android.exoplayer2.SeekParameters)"><code>ExoPlayer.Builder.setSeekParameters(SeekParameters)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSkipSilenceEnabled​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.Builder.setSkipSilenceEnabled(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setTrackSelector(com.google.android.exoplayer2.trackselection.TrackSelector)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setTrackSelector​(TrackSelector)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setTrackSelector(com.google.android.exoplayer2.trackselection.TrackSelector)"><code>ExoPlayer.Builder.setTrackSelector(TrackSelector)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setUseLazyPreparation(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setUseLazyPreparation​(boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setUseLazyPreparation(boolean)"><code>ExoPlayer.Builder.setUseLazyPreparation(boolean)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setVideoChangeFrameRateStrategy(int)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoChangeFrameRateStrategy​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoChangeFrameRateStrategy(int)"><code>ExoPlayer.Builder.setVideoChangeFrameRateStrategy(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setVideoScalingMode(int)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoScalingMode​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoScalingMode(int)"><code>ExoPlayer.Builder.setVideoScalingMode(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setWakeMode(@com.google.android.exoplayer2.C.WakeModeint)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setWakeMode​(@com.google.android.exoplayer2.C.WakeMode int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setWakeMode(@com.google.android.exoplayer2.C.WakeModeint)"><code>ExoPlayer.Builder.setWakeMode(int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.SimpleExoPlayer.prepare​(MediaSource)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setMediaSource(com.google.android.exoplayer2.source.MediaSource)"><code>SimpleExoPlayer.setMediaSource(MediaSource)</code></a> and <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>Player.prepare()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.SimpleExoPlayer.removeListener​(Player.EventListener)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#retry()">com.google.android.exoplayer2.SimpleExoPlayer.retry()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/SimpleExoPlayer.html#prepare()"><code>SimpleExoPlayer.prepare()</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setHandleWakeLock​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#stop(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.stop​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.createMediaSource​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setLivePresentationDelayMs(long,boolean)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setLivePresentationDelayMs​(long, boolean)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(MediaItem.LiveConfiguration)</code></a>
|
|
and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setTargetOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setTargetOffsetMs(long)</code></a> to override the
|
|
manifest, or <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setFallbackTargetLiveOffsetMs(long)"><code>DashMediaSource.Factory.setFallbackTargetLiveOffsetMs(long)</code></a> to provide a fallback value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setTag​(Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setStreamKeys​(List<StreamKey>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DefaultMediaSourceFactory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.createMediaSource​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setTag​(Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.MediaSourceFactory.createMediaSource​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>MediaSourceFactory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an
|
|
implementation that configures the returned <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> with the desired
|
|
<a href="com/google/android/exoplayer2/upstream/HttpDataSource.Factory.html" title="interface in com.google.android.exoplayer2.upstream"><code>HttpDataSource.Factory</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an
|
|
implementation that always returns the same instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an
|
|
implementation that configures the returned <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> with the desired
|
|
<code>userAgent</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.MediaSourceFactory.setStreamKeys​(List<StreamKey>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#streamKeys"><code>MediaItem.LocalConfiguration.streamKeys</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.createMediaSource​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setCustomCacheKey(java.lang.String)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setCustomCacheKey​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setCustomCacheKey(java.lang.String)"><code>MediaItem.Builder.setCustomCacheKey(String)</code></a> and <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setExtractorsFactory(com.google.android.exoplayer2.extractor.ExtractorsFactory)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setExtractorsFactory​(ExtractorsFactory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Pass the <a href="com/google/android/exoplayer2/extractor/ExtractorsFactory.html" title="interface in com.google.android.exoplayer2.extractor"><code>ExtractorsFactory</code></a> via <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.extractor.ExtractorsFactory)"><code>Factory(DataSource.Factory,
|
|
ExtractorsFactory)</code></a>. This is necessary so that proguard can treat the default extractors
|
|
factory as unused.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setTag​(Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.createMediaSource​(Uri)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setTag​(Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmUserAgent​(String)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getAudioComponent()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getDeviceComponent()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getTextComponent()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getVideoComponent()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.testutil.StubExoPlayer.prepare​(MediaSource)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#retry()">com.google.android.exoplayer2.testutil.StubExoPlayer.retry()</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.testutil.StubExoPlayer.setHandleWakeLock​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.testutil.StubExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubPlayer.html#stop(boolean)">com.google.android.exoplayer2.testutil.StubPlayer.stop​(boolean)</a></th>
|
|
<td class="colLast"></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.html#getPeriodPosition(com.google.android.exoplayer2.Timeline.Window,com.google.android.exoplayer2.Timeline.Period,int,long)">com.google.android.exoplayer2.Timeline.getPeriodPosition​(Timeline.Window, Timeline.Period, int, long)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.html#getPeriodPositionUs(com.google.android.exoplayer2.Timeline.Window,com.google.android.exoplayer2.Timeline.Period,int,long)"><code>Timeline.getPeriodPositionUs(Window, Period, int, long)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#getSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.getSelectionOverride​(int, TrackGroupArray)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Only works to retrieve the overrides set with the deprecated <a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#setSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)"><code>DefaultTrackSelector.ParametersBuilder.setSelectionOverride(int, TrackGroupArray, SelectionOverride)</code></a>. Use
|
|
<a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#hasSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.hasSelectionOverride​(int, TrackGroupArray)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Only works to retrieve the overrides set with the deprecated <a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#setSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)"><code>DefaultTrackSelector.ParametersBuilder.setSelectionOverride(int, TrackGroupArray, SelectionOverride)</code></a>. Use
|
|
<a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#clearSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.clearSelectionOverride​(int, TrackGroupArray)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.Builder.html#setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)"><code>TrackSelectionParameters.Builder.setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#clearSelectionOverrides(int)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.clearSelectionOverrides​(int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.Builder.html#setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)"><code>TrackSelectionParameters.Builder.setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#setSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.setSelectionOverride​(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.Builder.html#setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)"><code>TrackSelectionParameters.Builder.setTrackSelectionOverrides(com.google.android.exoplayer2.trackselection.TrackSelectionOverrides)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ui/DownloadNotificationHelper.html#buildProgressNotification(android.content.Context,int,android.app.PendingIntent,java.lang.String,java.util.List)">com.google.android.exoplayer2.ui.DownloadNotificationHelper.buildProgressNotification​(Context, int, PendingIntent, String, List<Download>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ui/DownloadNotificationHelper.html#buildProgressNotification(android.content.Context,int,android.app.PendingIntent,java.lang.String,java.util.List,int)"><code>DownloadNotificationHelper.buildProgressNotification(Context, int, PendingIntent, String, List,
|
|
int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.upstream.DefaultHttpDataSource.setContentTypePredicate​(Predicate<String>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.Factory.html#setContentTypePredicate(com.google.common.base.Predicate)"><code>DefaultHttpDataSource.Factory.setContentTypePredicate(Predicate)</code></a>
|
|
instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/video/VideoDecoderGLSurfaceView.html#getVideoDecoderOutputBufferRenderer()">com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView.getVideoDecoderOutputBufferRenderer()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">This class implements <a href="com/google/android/exoplayer2/video/VideoDecoderOutputBufferRenderer.html" title="interface in com.google.android.exoplayer2.video"><code>VideoDecoderOutputBufferRenderer</code></a> directly.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/video/VideoRendererEventListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.video.VideoRendererEventListener.onVideoInputFormatChanged​(Format)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/video/VideoRendererEventListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.decoder.DecoderReuseEvaluation)"><code>VideoRendererEventListener.onVideoInputFormatChanged(Format, DecoderReuseEvaluation)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a id="constructor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="deprecatedSummary">
|
|
<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>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#%3Cinit%3E(android.content.Context,int)">com.google.android.exoplayer2.DefaultRenderersFactory​(Context, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#%3Cinit%3E(android.content.Context)"><code>DefaultRenderersFactory(Context)</code></a> and <a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#setExtensionRendererMode(int)"><code>DefaultRenderersFactory.setExtensionRendererMode(int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DefaultDrmSessionManager.html#%3Cinit%3E(java.util.UUID,com.google.android.exoplayer2.drm.ExoMediaDrm,com.google.android.exoplayer2.drm.MediaDrmCallback,java.util.HashMap)">com.google.android.exoplayer2.drm.DefaultDrmSessionManager​(UUID, ExoMediaDrm, MediaDrmCallback, HashMap<String, String>)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DefaultDrmSessionManager.Builder.html" title="class in com.google.android.exoplayer2.drm"><code>DefaultDrmSessionManager.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/OfflineLicenseHelper.html#%3Cinit%3E(java.util.UUID,com.google.android.exoplayer2.drm.ExoMediaDrm.Provider,com.google.android.exoplayer2.drm.MediaDrmCallback,java.util.Map,com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher)">com.google.android.exoplayer2.drm.OfflineLicenseHelper​(UUID, ExoMediaDrm.Provider, MediaDrmCallback, Map<String, String>, DrmSessionEventListener.EventDispatcher)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/OfflineLicenseHelper.html#%3Cinit%3E(com.google.android.exoplayer2.drm.DefaultDrmSessionManager,com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher)"><code>OfflineLicenseHelper(DefaultDrmSessionManager,
|
|
DrmSessionEventListener.EventDispatcher)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html#%3Cinit%3E(org.chromium.net.CronetEngine,java.util.concurrent.Executor)">com.google.android.exoplayer2.ext.cronet.CronetDataSource​(CronetEngine, Executor)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.cronet"><code>CronetDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html#%3Cinit%3E(com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper,java.util.concurrent.Executor)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory​(CronetEngineWrapper, Executor)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html#%3Cinit%3E(org.chromium.net.CronetEngine,java.util.concurrent.Executor)"><code>Factory(CronetEngine, Executor)</code></a> with an instantiated <code>CronetEngine</code>, or <a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html" title="class in com.google.android.exoplayer2.upstream"><code>DefaultHttpDataSource</code></a> for cases where <a href="com/google/android/exoplayer2/ext/cronet/CronetEngineWrapper.html#getCronetEngine()"><code>CronetEngineWrapper.getCronetEngine()</code></a> would have returned <code>null</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.OpenException.html#%3Cinit%3E(java.io.IOException,com.google.android.exoplayer2.upstream.DataSpec,int)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException​(IOException, DataSpec, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.OpenException.html#%3Cinit%3E(java.io.IOException,com.google.android.exoplayer2.upstream.DataSpec,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint,int)"><code>OpenException(IOException, DataSpec, int, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html#%3Cinit%3E(okhttp3.Call.Factory)">com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource​(Call.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.Factory.html" title="class in com.google.android.exoplayer2.ext.okhttp"><code>OkHttpDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/workmanager/WorkManagerScheduler.html#%3Cinit%3E(java.lang.String)">com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Call <a href="com/google/android/exoplayer2/ext/workmanager/WorkManagerScheduler.html#%3Cinit%3E(android.content.Context,java.lang.String)"><code>WorkManagerScheduler(Context, String)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.html#%3Cinit%3E(long,long,long,float,float)">com.google.android.exoplayer2.MediaItem.LiveConfiguration​(long, long, long, float, float)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html" title="class in com.google.android.exoplayer2"><code>MediaItem.LiveConfiguration.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Subtitle.html#%3Cinit%3E(android.net.Uri,java.lang.String,java.lang.String)">com.google.android.exoplayer2.MediaItem.Subtitle​(Uri, String, String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.SubtitleConfiguration.Builder.html" title="class in com.google.android.exoplayer2"><code>MediaItem.SubtitleConfiguration.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DefaultDownloaderFactory.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory)">com.google.android.exoplayer2.offline.DefaultDownloaderFactory​(CacheDataSource.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DefaultDownloaderFactory.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory,java.util.concurrent.Executor)"><code>DefaultDownloaderFactory(CacheDataSource.Factory, Executor)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadManager.html#%3Cinit%3E(android.content.Context,com.google.android.exoplayer2.database.DatabaseProvider,com.google.android.exoplayer2.upstream.cache.Cache,com.google.android.exoplayer2.upstream.DataSource.Factory)">com.google.android.exoplayer2.offline.DownloadManager​(Context, DatabaseProvider, Cache, DataSource.Factory)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadManager.html#%3Cinit%3E(android.content.Context,com.google.android.exoplayer2.database.DatabaseProvider,com.google.android.exoplayer2.upstream.cache.Cache,com.google.android.exoplayer2.upstream.DataSource.Factory,java.util.concurrent.Executor)"><code>DownloadManager(Context, DatabaseProvider, Cache, Factory, Executor)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadService.html#%3Cinit%3E(int,long,java.lang.String,int)">com.google.android.exoplayer2.offline.DownloadService​(int, long, String, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/DownloadService.html#%3Cinit%3E(int,long,java.lang.String,int,int)"><code>DownloadService(int, long, String, int, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.PositionInfo.html#%3Cinit%3E(java.lang.Object,int,java.lang.Object,int,long,long,int,int)">com.google.android.exoplayer2.Player.PositionInfo​(Object, int, Object, int, long, long, int, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.PositionInfo.html#%3Cinit%3E(java.lang.Object,int,com.google.android.exoplayer2.MediaItem,java.lang.Object,int,long,long,int,int)"><code>PositionInfo(Object, int, MediaItem, Object, int, long, long, int,
|
|
int)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#%3Cinit%3E(android.content.Context,com.google.android.exoplayer2.RenderersFactory,com.google.android.exoplayer2.trackselection.TrackSelector,com.google.android.exoplayer2.source.MediaSourceFactory,com.google.android.exoplayer2.LoadControl,com.google.android.exoplayer2.upstream.BandwidthMeter,com.google.android.exoplayer2.analytics.AnalyticsCollector,boolean,com.google.android.exoplayer2.util.Clock,android.os.Looper)">com.google.android.exoplayer2.SimpleExoPlayer​(Context, RenderersFactory, TrackSelector, MediaSourceFactory, LoadControl, BandwidthMeter, AnalyticsCollector, boolean, Clock, Looper)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use the <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html" title="class in com.google.android.exoplayer2"><code>ExoPlayer.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#%3Cinit%3E(android.content.Context)">com.google.android.exoplayer2.SimpleExoPlayer.Builder​(Context)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#%3Cinit%3E(android.content.Context)"><code>Builder(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/SinglePeriodTimeline.html#%3Cinit%3E(long,boolean,boolean,boolean,java.lang.Object,java.lang.Object)">com.google.android.exoplayer2.source.SinglePeriodTimeline​(long, boolean, boolean, boolean, Object, Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/SinglePeriodTimeline.html#%3Cinit%3E(long,boolean,boolean,boolean,java.lang.Object,com.google.android.exoplayer2.MediaItem)"><code>SinglePeriodTimeline(long, boolean, boolean, boolean, Object,
|
|
MediaItem)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeExoMediaDrm.html#%3Cinit%3E()">com.google.android.exoplayer2.testutil.FakeExoMediaDrm()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/testutil/FakeExoMediaDrm.Builder.html" title="class in com.google.android.exoplayer2.testutil"><code>FakeExoMediaDrm.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/text/Cue.html#%3Cinit%3E(java.lang.CharSequence)">com.google.android.exoplayer2.text.Cue​(CharSequence)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/text/Cue.Builder.html" title="class in com.google.android.exoplayer2.text"><code>Cue.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html#%3Cinit%3E()">com.google.android.exoplayer2.trackselection.DefaultTrackSelector()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html#%3Cinit%3E(android.content.Context)"><code>DefaultTrackSelector(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#%3Cinit%3E()">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment"><a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints will not be set using this constructor. Use <a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#%3Cinit%3E(android.content.Context)" target="_top"><code>ParametersBuilder(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.Builder.html#%3Cinit%3E()">com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment"><a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink"><code>Context</code></a> constraints will not be set using this constructor. Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.Builder.html#%3Cinit%3E(android.content.Context)" target="_top"><code>Builder(Context)</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectorResult.html#%3Cinit%3E(com.google.android.exoplayer2.RendererConfiguration%5B%5D,com.google.android.exoplayer2.trackselection.ExoTrackSelection%5B%5D,java.lang.Object)">com.google.android.exoplayer2.trackselection.TrackSelectorResult​(RendererConfiguration[], ExoTrackSelection[], Object)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/trackselection/TrackSelectorResult.html#%3Cinit%3E(com.google.android.exoplayer2.RendererConfiguration%5B%5D,com.google.android.exoplayer2.trackselection.ExoTrackSelection%5B%5D,com.google.android.exoplayer2.TracksInfo,java.lang.Object)"><code>TrackSelectorResult(RendererConfiguration[], ExoTrackSelection[],
|
|
TracksInfo, Object)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ui/PlayerNotificationManager.Builder.html#%3Cinit%3E(android.content.Context,int,java.lang.String,com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder​(Context, int, String, PlayerNotificationManager.MediaDescriptionAdapter)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ui/PlayerNotificationManager.Builder.html#%3Cinit%3E(android.content.Context,int,java.lang.String)"><code>Builder(Context, int, String)</code></a> instead, then call <a href="com/google/android/exoplayer2/ui/PlayerNotificationManager.Builder.html#setMediaDescriptionAdapter(com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)"><code>PlayerNotificationManager.Builder.setMediaDescriptionAdapter(MediaDescriptionAdapter)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/AssetDataSource.AssetDataSourceException.html#%3Cinit%3E(java.io.IOException)">com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException​(IOException)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/AssetDataSource.AssetDataSourceException.html#%3Cinit%3E(java.lang.Throwable,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint)"><code>AssetDataSourceException(Throwable, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/cache/SimpleCache.html#%3Cinit%3E(java.io.File,com.google.android.exoplayer2.upstream.cache.CacheEvictor)">com.google.android.exoplayer2.upstream.cache.SimpleCache​(File, CacheEvictor)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use a constructor that takes a <a href="com/google/android/exoplayer2/database/DatabaseProvider.html" title="interface in com.google.android.exoplayer2.database"><code>DatabaseProvider</code></a> for improved performance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/ContentDataSource.ContentDataSourceException.html#%3Cinit%3E(java.io.IOException)">com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException​(IOException)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/ContentDataSource.ContentDataSourceException.html#%3Cinit%3E(java.io.IOException,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint)"><code>ContentDataSourceException(IOException, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#%3Cinit%3E(android.net.Uri,int)">com.google.android.exoplayer2.upstream.DataSpec​(Uri, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DataSpec.Builder.html" title="class in com.google.android.exoplayer2.upstream"><code>DataSpec.Builder</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultBandwidthMeter.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultBandwidthMeter()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DefaultBandwidthMeter.Builder.html" title="class in com.google.android.exoplayer2.upstream"><code>DefaultBandwidthMeter.Builder</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultHttpDataSource()</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.Factory.html" title="class in com.google.android.exoplayer2.upstream"><code>DefaultHttpDataSource.Factory</code></a> instead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/FileDataSource.FileDataSourceException.html#%3Cinit%3E(java.lang.Exception)">com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException​(Exception)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/FileDataSource.FileDataSourceException.html#%3Cinit%3E(java.lang.Throwable,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint)"><code>FileDataSourceException(Throwable, int)</code></a></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/HttpDataSource.HttpDataSourceException.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSpec,int)">com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException​(DataSpec, int)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/HttpDataSource.HttpDataSourceException.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSpec,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint,int)"><code>HttpDataSourceException(DataSpec, PlaybackException.ERROR_CODE_IO_UNSPECIFIED, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/HttpDataSource.InvalidResponseCodeException.html#%3Cinit%3E(int,java.util.Map,com.google.android.exoplayer2.upstream.DataSpec)">com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException​(int, Map<String, List<String>>, DataSpec)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/HttpDataSource.InvalidResponseCodeException.html#%3Cinit%3E(int,java.lang.String,java.io.IOException,java.util.Map,com.google.android.exoplayer2.upstream.DataSpec,byte%5B%5D)"><code>InvalidResponseCodeException(int, String, IOException, Map, DataSpec,
|
|
byte[])</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/RawResourceDataSource.RawResourceDataSourceException.html#%3Cinit%3E(java.lang.String)">com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException​(String)</a></th>
|
|
<td class="colLast">
|
|
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/RawResourceDataSource.RawResourceDataSourceException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint)"><code>RawResourceDataSourceException(String, Throwable, int)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</main>
|
|
<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>Package</li>
|
|
<li>Class</li>
|
|
<li><a href="overview-tree.html">Tree</a></li>
|
|
<li class="navBarCell1Rev">Deprecated</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>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|