media3/docs/doc/reference/deprecated-list.html
ibaker a5571010d0 Update javadoc for 2.17.0
#minor-release

PiperOrigin-RevId: 430437927
2022-02-23 16:28:08 +00:00

2127 lines
190 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&nbsp;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">&nbsp;</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">&nbsp;</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/source/DefaultMediaSourceFactory.AdsLoaderProvider.html" title="interface in com.google.android.exoplayer2.source">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.AdsLoaderProvider</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/ads/AdsLoader.Provider.html" title="interface in com.google.android.exoplayer2.source.ads"><code>AdsLoader.Provider</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html" title="interface in com.google.android.exoplayer2.source">com.google.android.exoplayer2.source.MediaSourceFactory</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource.Factory</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">&nbsp;</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/metadata/flac/VorbisComment.html" title="class in com.google.android.exoplayer2.metadata.flac">com.google.android.exoplayer2.metadata.flac.VorbisComment</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/metadata/vorbis/VorbisComment.html" title="class in com.google.android.exoplayer2.metadata.vorbis"><code>VorbisComment</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<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="altColor">
<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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/playlist/HlsMasterPlaylist.html" title="class in com.google.android.exoplayer2.source.hls.playlist">com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/playlist/HlsMultivariantPlaylist.html" title="class in com.google.android.exoplayer2.source.hls.playlist"><code>HlsMultivariantPlaylist</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/ui/PlayerView.html" title="class in com.google.android.exoplayer2.ui">com.google.android.exoplayer2.ui.PlayerView</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ui/StyledPlayerView.html" title="class in com.google.android.exoplayer2.ui"><code>StyledPlayerView</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<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="rowColor">
<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">&nbsp;</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">&nbsp;</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/31.0.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/31.0.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/31.0.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/31.0.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/31.0.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/source/hls/HlsManifest.html#masterPlaylist">com.google.android.exoplayer2.source.hls.HlsManifest.masterPlaylist</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/HlsManifest.html#multivariantPlaylist"><code>HlsManifest.multivariantPlaylist</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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">&nbsp;</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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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,@com.google.android.exoplayer2.drm.DrmSession.Stateint)"><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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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(@com.google.android.exoplayer2.C.FormatSupportint)">com.google.android.exoplayer2.C.getFormatSupportString&#8203;(@com.google.android.exoplayer2.C.FormatSupport int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getFormatSupportString(@com.google.android.exoplayer2.C.FormatSupportint)"><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&#8203;(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&#8203;(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&#8203;(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,@com.google.android.exoplayer2.drm.DrmSession.Stateint)"><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&#8203;(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.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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAudioSessionId(int)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAudioSessionId&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setSkipSilenceEnabled(boolean)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setSkipSilenceEnabled&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setVolume(float)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setVolume&#8203;(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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceMuted(boolean)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceMuted&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceVolume(int)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceVolume&#8203;(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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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&#8203;(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="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&#8203;(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.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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoChangeFrameRateStrategy(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategyint)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoChangeFrameRateStrategy&#8203;(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoChangeFrameRateStrategy(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategyint)"><code>ExoPlayer.setVideoChangeFrameRateStrategy(int)</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<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&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoScalingMode(@com.google.android.exoplayer2.C.VideoScalingModeint)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoScalingMode&#8203;(@com.google.android.exoplayer2.C.VideoScalingMode int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoScalingMode(@com.google.android.exoplayer2.C.VideoScalingModeint)"><code>ExoPlayer.setVideoScalingMode(int)</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(boolean)</a></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(Predicate&lt;String&gt;)</a></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<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&#8203;(Predicate&lt;String&gt;)</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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithBitrate(int)">com.google.android.exoplayer2.Format.copyWithBitrate&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithFrameRate(float)">com.google.android.exoplayer2.Format.copyWithFrameRate&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithGaplessInfo(int,int)">com.google.android.exoplayer2.Format.copyWithGaplessInfo&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithLabel(java.lang.String)">com.google.android.exoplayer2.Format.copyWithLabel&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMaxInputSize(int)">com.google.android.exoplayer2.Format.copyWithMaxInputSize&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithSubsampleOffsetUs(long)">com.google.android.exoplayer2.Format.copyWithSubsampleOffsetUs&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithVideoSize(int,int)">com.google.android.exoplayer2.Format.copyWithVideoSize&#8203;(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="altColor">
<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&#8203;(String, String, String, int, int, int, int, List&lt;byte[]&gt;, 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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(String, String, String, int, int, int, int, float, List&lt;byte[]&gt;, 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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentTrackGroups()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentTrackGroups()</a></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentTrackSelections()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentTrackSelections()</a></th>
<td class="colLast"></td>
</tr>
<tr class="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#stop(boolean)">com.google.android.exoplayer2.ForwardingPlayer.stop&#8203;(boolean)</a></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipEndPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipEndPositionMs&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToDefaultPosition(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToDefaultPosition&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToLiveWindow(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToLiveWindow&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartPositionMs&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartsAtKeyFrame(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartsAtKeyFrame&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmForceDefaultLicenseUri(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmForceDefaultLicenseUri&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(Map&lt;String, String&gt;)</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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmMultiSession(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmMultiSession&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmPlayClearContentWithoutKey(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmPlayClearContentWithoutKey&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmSessionForClearPeriods(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmSessionForClearPeriods&#8203;(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="rowColor">
<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&#8203;(List&lt;Integer&gt;)</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="altColor">
<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&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxOffsetMs&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxPlaybackSpeed&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinOffsetMs&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinPlaybackSpeed&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveTargetOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveTargetOffsetMs&#8203;(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="altColor">
<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&#8203;(List&lt;MediaItem.Subtitle&gt;)</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="rowColor">
<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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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#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&#8203;(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#forProgressive(android.content.Context,android.net.Uri)">com.google.android.exoplayer2.offline.DownloadHelper.forProgressive&#8203;(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="rowColor">
<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&#8203;(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/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.Listener.html#onLoadingChanged(boolean)">com.google.android.exoplayer2.Player.Listener.onLoadingChanged&#8203;(boolean)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html#onIsLoadingChanged(boolean)"><code>Player.Listener.onIsLoadingChanged(boolean)</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onPlayerStateChanged(boolean,@com.google.android.exoplayer2.Player.Stateint)">com.google.android.exoplayer2.Player.Listener.onPlayerStateChanged&#8203;(boolean, @com.google.android.exoplayer2.Player.State int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html#onPlaybackStateChanged(@com.google.android.exoplayer2.Player.Stateint)"><code>Player.Listener.onPlaybackStateChanged(int)</code></a> and <a href="com/google/android/exoplayer2/Player.Listener.html#onPlayWhenReadyChanged(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)"><code>Player.Listener.onPlayWhenReadyChanged(boolean, int)</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onPositionDiscontinuity(@com.google.android.exoplayer2.Player.DiscontinuityReasonint)">com.google.android.exoplayer2.Player.Listener.onPositionDiscontinuity&#8203;(@com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.Listener.onPositionDiscontinuity(PositionInfo, PositionInfo, int)</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onSeekProcessed()">com.google.android.exoplayer2.Player.Listener.onSeekProcessed()</a></th>
<td class="colLast">
<div class="deprecationComment">Seeks are processed without delay. Listen to <a href="com/google/android/exoplayer2/Player.Listener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.Listener.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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onTracksChanged(com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.TrackSelectionArray)">com.google.android.exoplayer2.Player.Listener.onTracksChanged&#8203;(TrackGroupArray, TrackSelectionArray)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html#onTracksInfoChanged(com.google.android.exoplayer2.TracksInfo)"><code>Player.Listener.onTracksInfoChanged(TracksInfo)</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#stop(boolean)">com.google.android.exoplayer2.Player.stop&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/PlayerMessage.html#setHandler(android.os.Handler)">com.google.android.exoplayer2.PlayerMessage.setHandler&#8203;(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="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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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.MediaSource.Factory)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setMediaSourceFactory&#8203;(MediaSource.Factory)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSource.Factory)"><code>ExoPlayer.Builder.setMediaSourceFactory(MediaSource.Factory)</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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategyint)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoChangeFrameRateStrategy&#8203;(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoChangeFrameRateStrategy(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategyint)"><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(@com.google.android.exoplayer2.C.VideoScalingModeint)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoScalingMode&#8203;(@com.google.android.exoplayer2.C.VideoScalingMode int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoScalingMode(@com.google.android.exoplayer2.C.VideoScalingModeint)"><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&#8203;(@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&#8203;(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#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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setHandleWakeLock&#8203;(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&#8203;(boolean)</a></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener)">com.google.android.exoplayer2.source.MediaSource.prepareSource&#8203;(MediaSource.MediaSourceCaller, TransferListener)</a></th>
<td class="colLast">
<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/source/MediaSource.html#prepareSource(com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller,com.google.android.exoplayer2.upstream.TransferListener,com.google.android.exoplayer2.analytics.PlayerId)"><code>MediaSource.prepareSource(MediaSourceCaller, TransferListener, PlayerId)</code></a>
instead.</div>
</td>
</tr>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/SampleQueue.html#createWithDrm(com.google.android.exoplayer2.upstream.Allocator,android.os.Looper,com.google.android.exoplayer2.drm.DrmSessionManager,com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher)">com.google.android.exoplayer2.source.SampleQueue.createWithDrm&#8203;(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/SampleQueue.html#createWithDrm(com.google.android.exoplayer2.upstream.Allocator,com.google.android.exoplayer2.drm.DrmSessionManager,com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher)"><code>SampleQueue.createWithDrm(Allocator, DrmSessionManager, EventDispatcher)</code></a> instead.
The <code>playbackLooper</code> should be configured on the <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> with
<a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#setPlayer(android.os.Looper,com.google.android.exoplayer2.analytics.PlayerId)"><code>DrmSessionManager.setPlayer(Looper, PlayerId)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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&#8203;(MediaSource)</a></th>
<td class="colLast"></td>
</tr>
<tr class="altColor">
<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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.testutil.StubExoPlayer.setHandleWakeLock&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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&#8203;(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/transformer/Transformer.Builder.html#setContext(android.content.Context)">com.google.android.exoplayer2.transformer.Transformer.Builder.setContext&#8203;(Context)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/Transformer.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/transformer/Transformer.Builder.html#setFlattenForSlowMotion(boolean)">com.google.android.exoplayer2.transformer.Transformer.Builder.setFlattenForSlowMotion&#8203;(boolean)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html#setFlattenForSlowMotion(boolean)"><code>TransformationRequest.Builder.setFlattenForSlowMotion(boolean)</code></a>
instead.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#setListener(com.google.android.exoplayer2.transformer.Transformer.Listener)">com.google.android.exoplayer2.transformer.Transformer.Builder.setListener&#8203;(Transformer.Listener)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#addListener(com.google.android.exoplayer2.transformer.Transformer.Listener)"><code>Transformer.Builder.addListener(Listener)</code></a>, <a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#removeListener(com.google.android.exoplayer2.transformer.Transformer.Listener)"><code>Transformer.Builder.removeListener(Listener)</code></a> or <a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#removeAllListeners()"><code>Transformer.Builder.removeAllListeners()</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#setOutputMimeType(java.lang.String)">com.google.android.exoplayer2.transformer.Transformer.Builder.setOutputMimeType&#8203;(String)</a></th>
<td class="colLast">
<div class="deprecationComment">This feature will be removed in a following release and the MIME type of the
output will always be MP4.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/transformer/Transformer.Listener.html#onTransformationError(com.google.android.exoplayer2.MediaItem,java.lang.Exception)">com.google.android.exoplayer2.transformer.Transformer.Listener.onTransformationError&#8203;(MediaItem, Exception)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/Transformer.Listener.html#onTransformationError(com.google.android.exoplayer2.MediaItem,com.google.android.exoplayer2.transformer.TransformationException)"><code>Transformer.Listener.onTransformationError(MediaItem, TransformationException)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/transformer/Transformer.html#setListener(com.google.android.exoplayer2.transformer.Transformer.Listener)">com.google.android.exoplayer2.transformer.Transformer.setListener&#8203;(Transformer.Listener)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/Transformer.html#addListener(com.google.android.exoplayer2.transformer.Transformer.Listener)"><code>Transformer.addListener(Listener)</code></a>, <a href="com/google/android/exoplayer2/transformer/Transformer.html#removeListener(com.google.android.exoplayer2.transformer.Transformer.Listener)"><code>Transformer.removeListener(Listener)</code></a> or <a href="com/google/android/exoplayer2/transformer/Transformer.html#removeAllListeners()"><code>Transformer.removeAllListeners()</code></a> instead.</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&#8203;(Context, int, PendingIntent, String, List&lt;Download&gt;)</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,@com.google.android.exoplayer2.scheduler.Requirements.RequirementFlagsint)"><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&#8203;(Predicate&lt;String&gt;)</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&#8203;(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">&nbsp;</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/audio/DefaultAudioSink.html#%3Cinit%3E(com.google.android.exoplayer2.audio.AudioCapabilities,com.google.android.exoplayer2.audio.AudioProcessor%5B%5D)">com.google.android.exoplayer2.audio.DefaultAudioSink&#8203;(AudioCapabilities, AudioProcessor[])</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/audio/DefaultAudioSink.Builder.html" title="class in com.google.android.exoplayer2.audio"><code>DefaultAudioSink.Builder</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&#8203;(UUID, ExoMediaDrm, MediaDrmCallback, HashMap&lt;String, String&gt;)</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&#8203;(UUID, ExoMediaDrm.Provider, MediaDrmCallback, Map&lt;String, String&gt;, 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.Factory.html#%3Cinit%3E(com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper,java.util.concurrent.Executor)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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.MediaSource.Factory,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&#8203;(Context, RenderersFactory, TrackSelector, MediaSource.Factory, 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="altColor">
<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&#8203;(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="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/playlist/HlsMasterPlaylist.html#%3Cinit%3E(java.lang.String,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List,com.google.android.exoplayer2.Format,java.util.List,boolean,java.util.Map,java.util.List)">com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist&#8203;(String, List&lt;String&gt;, List&lt;HlsMultivariantPlaylist.Variant&gt;, List&lt;HlsMultivariantPlaylist.Rendition&gt;, List&lt;HlsMultivariantPlaylist.Rendition&gt;, List&lt;HlsMultivariantPlaylist.Rendition&gt;, List&lt;HlsMultivariantPlaylist.Rendition&gt;, Format, List&lt;Format&gt;, boolean, Map&lt;String, String&gt;, List&lt;DrmInitData&gt;)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/playlist/HlsMultivariantPlaylist.html#%3Cinit%3E(java.lang.String,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List,com.google.android.exoplayer2.Format,java.util.List,boolean,java.util.Map,java.util.List)"><code>HlsMultivariantPlaylist(java.lang.String, java.util.List&lt;java.lang.String&gt;, java.util.List&lt;com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant&gt;, java.util.List&lt;com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition&gt;, java.util.List&lt;com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition&gt;, java.util.List&lt;com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition&gt;, java.util.List&lt;com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition&gt;, com.google.android.exoplayer2.Format, java.util.List&lt;com.google.android.exoplayer2.Format&gt;, boolean, java.util.Map&lt;java.lang.String, java.lang.String&gt;, java.util.List&lt;com.google.android.exoplayer2.drm.DrmInitData&gt;)</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&#8203;(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/testutil/FakeTimeline.TimelineWindowDefinition.html#%3Cinit%3E(int,java.lang.Object,boolean,boolean,boolean,boolean,long,long,long,com.google.android.exoplayer2.source.ads.AdPlaybackState,com.google.android.exoplayer2.MediaItem)">com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition&#8203;(int, Object, boolean, boolean, boolean, boolean, long, long, long, AdPlaybackState, MediaItem)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/testutil/FakeTimeline.TimelineWindowDefinition.html#%3Cinit%3E(int,java.lang.Object,boolean,boolean,boolean,boolean,long,long,long,java.util.List,com.google.android.exoplayer2.MediaItem)"><code>TimelineWindowDefinition(int, Object, boolean, boolean, boolean,
boolean, long, long, long, List, MediaItem)</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<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&#8203;(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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#%3Cinit%3E()">com.google.android.exoplayer2.transformer.Transformer.Builder()</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/Transformer.Builder.html#%3Cinit%3E(android.content.Context)"><code>Builder(Context)</code></a> instead.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ui/AdOverlayInfo.html#%3Cinit%3E(android.view.View,@com.google.android.exoplayer2.ui.AdOverlayInfo.Purposeint)">com.google.android.exoplayer2.ui.AdOverlayInfo&#8203;(View, @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int)</a></th>
<td class="colLast">
<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ui/AdOverlayInfo.Builder.html" title="class in com.google.android.exoplayer2.ui"><code>AdOverlayInfo.Builder</code></a> instead.</div>
</td>
</tr>
<tr class="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<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&#8203;(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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#%3Cinit%3E(android.net.Uri,@com.google.android.exoplayer2.upstream.DataSpec.Flagsint)">com.google.android.exoplayer2.upstream.DataSpec&#8203;(Uri, @com.google.android.exoplayer2.upstream.DataSpec.Flags 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="rowColor">
<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="altColor">
<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="rowColor">
<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&#8203;(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="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/HttpDataSource.HttpDataSourceException.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSpec,@com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException.Typeint)">com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException&#8203;(DataSpec, @com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException.Type 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,@com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException.Typeint)"><code>HttpDataSourceException(DataSpec, PlaybackException.ERROR_CODE_IO_UNSPECIFIED, int)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<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&#8203;(int, Map&lt;String, List&lt;String&gt;&gt;, 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="altColor">
<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&#8203;(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&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<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>