1<!DOCTYPE HTML> 2<!-- NewPage --> 3<html lang="en"> 4<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 --> 5<title>Deprecated List (ExoPlayer library)</title> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> 8<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style"> 9<script type="text/javascript" src="script.js"></script> 10<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> 11<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> 12<!--[if IE]> 13<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> 14<![endif]--> 15<script type="text/javascript" src="jquery/jquery-3.5.1.js"></script> 16<script type="text/javascript" src="jquery/jquery-ui.js"></script> 17</head> 18<body> 19<script type="text/javascript"><!-- 20 try { 21 if (location.href.indexOf('is-external=true') == -1) { 22 parent.document.title="Deprecated List (ExoPlayer library)"; 23 } 24 } 25 catch(err) { 26 } 27//--> 28var pathtoroot = "./"; 29var useModuleDirectories = false; 30loadScripts(document, 'script');</script> 31<noscript> 32<div>JavaScript is disabled on your browser.</div> 33</noscript> 34<header role="banner"> 35<nav role="navigation"> 36<div class="fixedNav"> 37<!-- ========= START OF TOP NAVBAR ======= --> 38<div class="topNav"><a id="navbar.top"> 39<!-- --> 40</a> 41<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 42<a id="navbar.top.firstrow"> 43<!-- --> 44</a> 45<ul class="navList" title="Navigation"> 46<li><a href="index.html">Overview</a></li> 47<li>Package</li> 48<li>Class</li> 49<li><a href="overview-tree.html">Tree</a></li> 50<li class="navBarCell1Rev">Deprecated</li> 51<li><a href="index-all.html">Index</a></li> 52<li><a href="help-doc.html">Help</a></li> 53</ul> 54</div> 55<div class="subNav"> 56<ul class="navList" id="allclasses_navbar_top"> 57<li><a href="allclasses.html">All Classes</a></li> 58</ul> 59<ul class="navListSearch"> 60<li><label for="search">SEARCH:</label> 61<input type="text" id="search" value="search" disabled="disabled"> 62<input type="reset" id="reset" value="reset" disabled="disabled"> 63</li> 64</ul> 65<div> 66<script type="text/javascript"><!-- 67 allClassesLink = document.getElementById("allclasses_navbar_top"); 68 if(window==top) { 69 allClassesLink.style.display = "block"; 70 } 71 else { 72 allClassesLink.style.display = "none"; 73 } 74 //--> 75</script> 76<noscript> 77<div>JavaScript is disabled on your browser.</div> 78</noscript> 79</div> 80<a id="skip.navbar.top"> 81<!-- --> 82</a></div> 83<!-- ========= END OF TOP NAVBAR ========= --> 84</div> 85<div class="navPadding"> </div> 86<script type="text/javascript"><!-- 87$('.navPadding').css('padding-top', $('.fixedNav').css("height")); 88//--> 89</script> 90</nav> 91</header> 92<main role="main"> 93<div class="header"> 94<h1 title="Deprecated API" class="title">Deprecated API</h1> 95<h2 title="Contents">Contents</h2> 96<ul> 97<li><a href="#interface">Interfaces</a></li> 98<li><a href="#class">Classes</a></li> 99<li><a href="#annotation.type">Annotation Types</a></li> 100<li><a href="#field">Fields</a></li> 101<li><a href="#method">Methods</a></li> 102<li><a href="#constructor">Constructors</a></li> 103</ul> 104</div> 105<div class="contentContainer"><a id="interface"> 106<!-- --> 107</a> 108<ul class="blockList"> 109<li class="blockList"> 110<table class="deprecatedSummary"> 111<caption><span>Interfaces</span><span class="tabEnd"> </span></caption> 112<tr> 113<th class="colFirst" scope="col">Interface</th> 114<th class="colLast" scope="col">Description</th> 115</tr> 116<tbody> 117<tr class="altColor"> 118<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> 119<td class="colLast"> 120<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 121 interface.</div> 122</td> 123</tr> 124<tr class="rowColor"> 125<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> 126<td class="colLast"> 127<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 128 interface.</div> 129</td> 130</tr> 131<tr class="altColor"> 132<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> 133<td class="colLast"> 134<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 135 interface.</div> 136</td> 137</tr> 138<tr class="rowColor"> 139<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> 140<td class="colLast"> 141<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 142 interface.</div> 143</td> 144</tr> 145<tr class="altColor"> 146<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> 147<td class="colLast"> 148<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> 149</td> 150</tr> 151<tr class="rowColor"> 152<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> 153<td class="colLast"> 154<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> 155</td> 156</tr> 157</tbody> 158</table> 159</li> 160</ul> 161<a id="class"> 162<!-- --> 163</a> 164<ul class="blockList"> 165<li class="blockList"> 166<table class="deprecatedSummary"> 167<caption><span>Classes</span><span class="tabEnd"> </span></caption> 168<tr> 169<th class="colFirst" scope="col">Class</th> 170<th class="colLast" scope="col">Description</th> 171</tr> 172<tbody> 173<tr class="altColor"> 174<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> 175<td class="colLast"> 176<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> 177</td> 178</tr> 179<tr class="rowColor"> 180<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> 181<td class="colLast"> 182<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> 183</td> 184</tr> 185<tr class="altColor"> 186<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> 187<td class="colLast"> 188<div class="deprecationComment">Use <code>CronetEngine</code> directly. See the <a href="https://developer.android.com/guide/topics/connectivity/cronet/start">Android developer 189 guide</a> to learn how to instantiate a <code>CronetEngine</code> for use by your application. You 190 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 191 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> 192</td> 193</tr> 194<tr class="rowColor"> 195<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> 196<td class="colLast"> 197<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> 198</td> 199</tr> 200<tr class="altColor"> 201<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> 202<td class="colLast"> 203<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> 204</td> 205</tr> 206<tr class="rowColor"> 207<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> 208<td class="colLast"> 209<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> 210</td> 211</tr> 212<tr class="altColor"> 213<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> 214<td class="colLast"> 215<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> 216</td> 217</tr> 218<tr class="rowColor"> 219<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> 220<td class="colLast"> 221<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> 222</td> 223</tr> 224<tr class="altColor"> 225<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> 226<td class="colLast"> 227<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> 228</td> 229</tr> 230<tr class="rowColor"> 231<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> 232<td class="colLast"> 233<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> 234</td> 235</tr> 236<tr class="altColor"> 237<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> 238<td class="colLast"> 239<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> 240</td> 241</tr> 242<tr class="rowColor"> 243<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> 244<td class="colLast"> 245<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> 246</td> 247</tr> 248<tr class="altColor"> 249<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> 250<td class="colLast"> 251<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> 252 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 253 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>. 254 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 255 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 256 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 257 times.</div> 258</td> 259</tr> 260<tr class="rowColor"> 261<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> 262<td class="colLast"> 263<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> 264</td> 265</tr> 266<tr class="altColor"> 267<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> 268<td class="colLast"> 269<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> 270</td> 271</tr> 272<tr class="rowColor"> 273<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> 274<td class="colLast"> 275<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> 276</td> 277</tr> 278</tbody> 279</table> 280</li> 281</ul> 282<a id="annotation.type"> 283<!-- --> 284</a> 285<ul class="blockList"> 286<li class="blockList"> 287<table class="deprecatedSummary"> 288<caption><span>Annotation Types</span><span class="tabEnd"> </span></caption> 289<tr> 290<th class="colFirst" scope="col">Annotation Type</th> 291<th class="colLast" scope="col">Description</th> 292</tr> 293<tbody> 294<tr class="altColor"> 295<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> 296<td class="colLast"> 297<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> 298</td> 299</tr> 300</tbody> 301</table> 302</li> 303</ul> 304<a id="field"> 305<!-- --> 306</a> 307<ul class="blockList"> 308<li class="blockList"> 309<table class="deprecatedSummary"> 310<caption><span>Fields</span><span class="tabEnd"> </span></caption> 311<tr> 312<th class="colFirst" scope="col">Field</th> 313<th class="colLast" scope="col">Description</th> 314</tr> 315<tbody> 316<tr class="altColor"> 317<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ASCII_NAME">com.google.android.exoplayer2.C.ASCII_NAME</a></th> 318<td class="colLast"> 319<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> 320</td> 321</tr> 322<tr class="rowColor"> 323<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ISO88591_NAME">com.google.android.exoplayer2.C.ISO88591_NAME</a></th> 324<td class="colLast"> 325<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> 326</td> 327</tr> 328<tr class="altColor"> 329<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16_NAME">com.google.android.exoplayer2.C.UTF16_NAME</a></th> 330<td class="colLast"> 331<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> 332</td> 333</tr> 334<tr class="rowColor"> 335<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16LE_NAME">com.google.android.exoplayer2.C.UTF16LE_NAME</a></th> 336<td class="colLast"> 337<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> 338</td> 339</tr> 340<tr class="altColor"> 341<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF8_NAME">com.google.android.exoplayer2.C.UTF8_NAME</a></th> 342<td class="colLast"> 343<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> 344</td> 345</tr> 346<tr class="rowColor"> 347<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DUMMY">com.google.android.exoplayer2.drm.DrmSessionManager.DUMMY</a></th> 348<td class="colLast"> 349<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div> 350</td> 351</tr> 352<tr class="altColor"> 353<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.html#clippingProperties">com.google.android.exoplayer2.MediaItem.clippingProperties</a></th> 354<td class="colLast"> 355<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#clippingConfiguration"><code>MediaItem.clippingConfiguration</code></a> instead.</div> 356</td> 357</tr> 358<tr class="rowColor"> 359<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#requestHeaders">com.google.android.exoplayer2.MediaItem.DrmConfiguration.requestHeaders</a></th> 360<td class="colLast"> 361<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#licenseRequestHeaders"><code>MediaItem.DrmConfiguration.licenseRequestHeaders</code></a> instead.</div> 362</td> 363</tr> 364<tr class="altColor"> 365<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#sessionForClearTypes">com.google.android.exoplayer2.MediaItem.DrmConfiguration.sessionForClearTypes</a></th> 366<td class="colLast"> 367<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#forcedSessionTrackTypes"><code>MediaItem.DrmConfiguration.forcedSessionTrackTypes</code></a>.</div> 368</td> 369</tr> 370<tr class="rowColor"> 371<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#uuid">com.google.android.exoplayer2.MediaItem.DrmConfiguration.uuid</a></th> 372<td class="colLast"> 373<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#scheme"><code>MediaItem.DrmConfiguration.scheme</code></a> instead.</div> 374</td> 375</tr> 376<tr class="altColor"> 377<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitles">com.google.android.exoplayer2.MediaItem.LocalConfiguration.subtitles</a></th> 378<td class="colLast"> 379<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitleConfigurations"><code>MediaItem.LocalConfiguration.subtitleConfigurations</code></a> instead.</div> 380</td> 381</tr> 382<tr class="rowColor"> 383<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.html#playbackProperties">com.google.android.exoplayer2.MediaItem.playbackProperties</a></th> 384<td class="colLast"> 385<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#localConfiguration"><code>MediaItem.localConfiguration</code></a> instead.</div> 386</td> 387</tr> 388<tr class="altColor"> 389<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.html#year">com.google.android.exoplayer2.MediaMetadata.year</a></th> 390<td class="colLast"> 391<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaMetadata.html#recordingYear"><code>MediaMetadata.recordingYear</code></a> instead.</div> 392</td> 393</tr> 394<tr class="rowColor"> 395<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> 396<td class="colLast"> 397<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> 398</td> 399</tr> 400<tr class="altColor"> 401<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> 402<td class="colLast"> 403<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> 404</td> 405</tr> 406<tr class="rowColor"> 407<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/StreamKey.html#trackIndex">com.google.android.exoplayer2.offline.StreamKey.trackIndex</a></th> 408<td class="colLast"> 409<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/StreamKey.html#streamIndex"><code>StreamKey.streamIndex</code></a>.</div> 410</td> 411</tr> 412<tr class="altColor"> 413<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> 414<td class="colLast"> 415<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> 416</td> 417</tr> 418<tr class="rowColor"> 419<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> 420<td class="colLast"> 421<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> 422</td> 423</tr> 424<tr class="altColor"> 425<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> 426<td class="colLast"> 427<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> 428</td> 429</tr> 430<tr class="rowColor"> 431<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> 432<td class="colLast"> 433<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> 434</td> 435</tr> 436<tr class="altColor"> 437<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.PositionInfo.html#windowIndex">com.google.android.exoplayer2.Player.PositionInfo.windowIndex</a></th> 438<td class="colLast"> 439<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.PositionInfo.html#mediaItemIndex"><code>Player.PositionInfo.mediaItemIndex</code></a> instead.</div> 440</td> 441</tr> 442<tr class="rowColor"> 443<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> 444<td class="colLast"> 445<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_EXCEEDS_CAPABILITIES"><code>C.FORMAT_EXCEEDS_CAPABILITIES</code></a> instead.</div> 446</td> 447</tr> 448<tr class="altColor"> 449<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_HANDLED">com.google.android.exoplayer2.RendererCapabilities.FORMAT_HANDLED</a></th> 450<td class="colLast"> 451<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_HANDLED"><code>C.FORMAT_HANDLED</code></a> instead.</div> 452</td> 453</tr> 454<tr class="rowColor"> 455<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> 456<td class="colLast"> 457<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_DRM"><code>C.FORMAT_UNSUPPORTED_DRM</code></a> instead.</div> 458</td> 459</tr> 460<tr class="altColor"> 461<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> 462<td class="colLast"> 463<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_SUBTYPE"><code>C.FORMAT_UNSUPPORTED_SUBTYPE</code></a> instead.</div> 464</td> 465</tr> 466<tr class="rowColor"> 467<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> 468<td class="colLast"> 469<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_TYPE"><code>C.FORMAT_UNSUPPORTED_TYPE</code></a> instead.</div> 470</td> 471</tr> 472<tr class="altColor"> 473<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> 474<td class="colLast"> 475<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> 476</td> 477</tr> 478<tr class="rowColor"> 479<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> 480<td class="colLast"> 481<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/HlsManifest.html#multivariantPlaylist"><code>HlsManifest.multivariantPlaylist</code></a> instead.</div> 482</td> 483</tr> 484<tr class="altColor"> 485<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#isLive">com.google.android.exoplayer2.Timeline.Window.isLive</a></th> 486<td class="colLast"> 487<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#isLive()"><code>Timeline.Window.isLive()</code></a> instead.</div> 488</td> 489</tr> 490<tr class="rowColor"> 491<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#tag">com.google.android.exoplayer2.Timeline.Window.tag</a></th> 492<td class="colLast"> 493<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#mediaItem"><code>Timeline.Window.mediaItem</code></a> instead.</div> 494</td> 495</tr> 496<tr class="altColor"> 497<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> 498<td class="colLast"> 499<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> 500</td> 501</tr> 502<tr class="rowColor"> 503<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#DEFAULT">com.google.android.exoplayer2.trackselection.TrackSelectionParameters.DEFAULT</a></th> 504<td class="colLast"> 505<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> 506</td> 507</tr> 508<tr class="altColor"> 509<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> 510<td class="colLast"> 511<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> 512</td> 513</tr> 514<tr class="rowColor"> 515<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#absoluteStreamPosition">com.google.android.exoplayer2.upstream.DataSpec.absoluteStreamPosition</a></th> 516<td class="colLast"> 517<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 518 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 519 position is required, use <code>uriPositionOffset + position</code>.</div> 520</td> 521</tr> 522<tr class="altColor"> 523<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> 524<td class="colLast"> 525<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> 526</td> 527</tr> 528</tbody> 529</table> 530</li> 531</ul> 532<a id="method"> 533<!-- --> 534</a> 535<ul class="blockList"> 536<li class="blockList"> 537<table class="deprecatedSummary"> 538<caption><span>Methods</span><span class="tabEnd"> </span></caption> 539<tr> 540<th class="colFirst" scope="col">Method</th> 541<th class="colLast" scope="col">Description</th> 542</tr> 543<tbody> 544<tr class="altColor"> 545<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onAudioDecoderInitialized​(AnalyticsListener.EventTime, String, long)</a></th> 546<td class="colLast"> 547<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> 548</td> 549</tr> 550<tr class="rowColor"> 551<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onAudioInputFormatChanged​(AnalyticsListener.EventTime, Format)</a></th> 552<td class="colLast"> 553<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> 554</td> 555</tr> 556<tr class="altColor"> 557<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderDisabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.decoder.DecoderCounters)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderDisabled​(AnalyticsListener.EventTime, int, DecoderCounters)</a></th> 558<td class="colLast"> 559<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> 560</td> 561</tr> 562<tr class="rowColor"> 563<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderEnabled(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.decoder.DecoderCounters)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderEnabled​(AnalyticsListener.EventTime, int, DecoderCounters)</a></th> 564<td class="colLast"> 565<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> 566</td> 567</tr> 568<tr class="altColor"> 569<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderInitialized​(AnalyticsListener.EventTime, int, String, long)</a></th> 570<td class="colLast"> 571<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> 572 instead.</div> 573</td> 574</tr> 575<tr class="rowColor"> 576<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDecoderInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDecoderInputFormatChanged​(AnalyticsListener.EventTime, int, Format)</a></th> 577<td class="colLast"> 578<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> 579 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> 580</td> 581</tr> 582<tr class="altColor"> 583<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDrmSessionAcquired(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onDrmSessionAcquired​(AnalyticsListener.EventTime)</a></th> 584<td class="colLast"> 585<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> 586</td> 587</tr> 588<tr class="rowColor"> 589<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onLoadingChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean)">com.google.android.exoplayer2.analytics.AnalyticsListener.onLoadingChanged​(AnalyticsListener.EventTime, boolean)</a></th> 590<td class="colLast"> 591<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> 592</td> 593</tr> 594<tr class="altColor"> 595<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPlayerStateChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,boolean,@com.google.android.exoplayer2.Player.Stateint)">com.google.android.exoplayer2.analytics.AnalyticsListener.onPlayerStateChanged​(AnalyticsListener.EventTime, boolean, @com.google.android.exoplayer2.Player.State int)</a></th> 596<td class="colLast"> 597<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> 598</td> 599</tr> 600<tr class="rowColor"> 601<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)">com.google.android.exoplayer2.analytics.AnalyticsListener.onPositionDiscontinuity​(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th> 602<td class="colLast"> 603<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, 604 Player.PositionInfo, int)</code></a> instead.</div> 605</td> 606</tr> 607<tr class="altColor"> 608<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onSeekProcessed(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onSeekProcessed​(AnalyticsListener.EventTime)</a></th> 609<td class="colLast"> 610<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, 611 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> 612</td> 613</tr> 614<tr class="rowColor"> 615<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onSeekStarted(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime)">com.google.android.exoplayer2.analytics.AnalyticsListener.onSeekStarted​(AnalyticsListener.EventTime)</a></th> 616<td class="colLast"> 617<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, 618 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> 619</td> 620</tr> 621<tr class="altColor"> 622<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onTracksChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.TrackSelectionArray)">com.google.android.exoplayer2.analytics.AnalyticsListener.onTracksChanged​(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray)</a></th> 623<td class="colLast"> 624<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> 625</td> 626</tr> 627<tr class="rowColor"> 628<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,java.lang.String,long)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoDecoderInitialized​(AnalyticsListener.EventTime, String, long)</a></th> 629<td class="colLast"> 630<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> 631</td> 632</tr> 633<tr class="altColor"> 634<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoInputFormatChanged​(AnalyticsListener.EventTime, Format)</a></th> 635<td class="colLast"> 636<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> 637</td> 638</tr> 639<tr class="rowColor"> 640<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onVideoSizeChanged(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int,int,int,float)">com.google.android.exoplayer2.analytics.AnalyticsListener.onVideoSizeChanged​(AnalyticsListener.EventTime, int, int, int, float)</a></th> 641<td class="colLast"> 642<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> 643</td> 644</tr> 645<tr class="altColor"> 646<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/audio/AudioRendererEventListener.html#onAudioInputFormatChanged(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.audio.AudioRendererEventListener.onAudioInputFormatChanged​(Format)</a></th> 647<td class="colLast"> 648<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> 649</td> 650</tr> 651<tr class="rowColor"> 652<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.BasePlayer.getCurrentWindowIndex()</a></th> 653<td class="colLast"></td> 654</tr> 655<tr class="altColor"> 656<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.BasePlayer.getNextWindowIndex()</a></th> 657<td class="colLast"></td> 658</tr> 659<tr class="rowColor"> 660<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.BasePlayer.getPreviousWindowIndex()</a></th> 661<td class="colLast"></td> 662</tr> 663<tr class="altColor"> 664<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNext()">com.google.android.exoplayer2.BasePlayer.hasNext()</a></th> 665<td class="colLast"></td> 666</tr> 667<tr class="rowColor"> 668<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNextWindow()">com.google.android.exoplayer2.BasePlayer.hasNextWindow()</a></th> 669<td class="colLast"></td> 670</tr> 671<tr class="altColor"> 672<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPrevious()">com.google.android.exoplayer2.BasePlayer.hasPrevious()</a></th> 673<td class="colLast"></td> 674</tr> 675<tr class="rowColor"> 676<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.BasePlayer.hasPreviousWindow()</a></th> 677<td class="colLast"></td> 678</tr> 679<tr class="altColor"> 680<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowDynamic()</a></th> 681<td class="colLast"></td> 682</tr> 683<tr class="rowColor"> 684<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowLive()</a></th> 685<td class="colLast"></td> 686</tr> 687<tr class="altColor"> 688<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowSeekable()</a></th> 689<td class="colLast"></td> 690</tr> 691<tr class="rowColor"> 692<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#next()">com.google.android.exoplayer2.BasePlayer.next()</a></th> 693<td class="colLast"></td> 694</tr> 695<tr class="altColor"> 696<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#previous()">com.google.android.exoplayer2.BasePlayer.previous()</a></th> 697<td class="colLast"></td> 698</tr> 699<tr class="rowColor"> 700<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToNextWindow()">com.google.android.exoplayer2.BasePlayer.seekToNextWindow()</a></th> 701<td class="colLast"></td> 702</tr> 703<tr class="altColor"> 704<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.BasePlayer.seekToPreviousWindow()</a></th> 705<td class="colLast"></td> 706</tr> 707<tr class="rowColor"> 708<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#generateAudioSessionIdV21(android.content.Context)">com.google.android.exoplayer2.C.generateAudioSessionIdV21​(Context)</a></th> 709<td class="colLast"> 710<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#generateAudioSessionIdV21(android.content.Context)"><code>Util.generateAudioSessionIdV21(Context)</code></a>.</div> 711</td> 712</tr> 713<tr class="altColor"> 714<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#getErrorCodeForMediaDrmErrorCode(int)">com.google.android.exoplayer2.C.getErrorCodeForMediaDrmErrorCode​(int)</a></th> 715<td class="colLast"> 716<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getErrorCodeForMediaDrmErrorCode(int)"><code>Util.getErrorCodeForMediaDrmErrorCode(int)</code></a>.</div> 717</td> 718</tr> 719<tr class="rowColor"> 720<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​(@com.google.android.exoplayer2.C.FormatSupport int)</a></th> 721<td class="colLast"> 722<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> 723</td> 724</tr> 725<tr class="altColor"> 726<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#msToUs(long)">com.google.android.exoplayer2.C.msToUs​(long)</a></th> 727<td class="colLast"> 728<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#msToUs(long)"><code>Util.msToUs(long)</code></a>.</div> 729</td> 730</tr> 731<tr class="rowColor"> 732<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#usToMs(long)">com.google.android.exoplayer2.C.usToMs​(long)</a></th> 733<td class="colLast"> 734<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#usToMs(long)"><code>Util.usToMs(long)</code></a>.</div> 735</td> 736</tr> 737<tr class="altColor"> 738<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#createDefaultLoadControl()">com.google.android.exoplayer2.DefaultLoadControl.Builder.createDefaultLoadControl()</a></th> 739<td class="colLast"> 740<div class="deprecationComment">use <a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#build()"><code>DefaultLoadControl.Builder.build()</code></a> instead.</div> 741</td> 742</tr> 743<tr class="rowColor"> 744<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionEventListener.html#onDrmSessionAcquired(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId)">com.google.android.exoplayer2.drm.DrmSessionEventListener.onDrmSessionAcquired​(int, MediaSource.MediaPeriodId)</a></th> 745<td class="colLast"> 746<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> 747</td> 748</tr> 749<tr class="altColor"> 750<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#getDummyDrmSessionManager()">com.google.android.exoplayer2.drm.DrmSessionManager.getDummyDrmSessionManager()</a></th> 751<td class="colLast"> 752<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div> 753</td> 754</tr> 755<tr class="rowColor"> 756<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlaybackException.html#createForUnexpected(java.lang.RuntimeException)">com.google.android.exoplayer2.ExoPlaybackException.createForUnexpected​(RuntimeException)</a></th> 757<td class="colLast"> 758<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> 759</td> 760</tr> 761<tr class="altColor"> 762<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#clearAuxEffectInfo()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.clearAuxEffectInfo()</a></th> 763<td class="colLast"> 764<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#clearAuxEffectInfo()"><code>ExoPlayer.clearAuxEffectInfo()</code></a> instead.</div> 765</td> 766</tr> 767<tr class="rowColor"> 768<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioAttributes()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioAttributes()</a></th> 769<td class="colLast"> 770<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getAudioAttributes()"><code>Player.getAudioAttributes()</code></a> instead.</div> 771</td> 772</tr> 773<tr class="altColor"> 774<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioSessionId()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioSessionId()</a></th> 775<td class="colLast"> 776<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioSessionId()"><code>ExoPlayer.getAudioSessionId()</code></a> instead.</div> 777</td> 778</tr> 779<tr class="rowColor"> 780<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getSkipSilenceEnabled()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getSkipSilenceEnabled()</a></th> 781<td class="colLast"> 782<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getSkipSilenceEnabled()"><code>ExoPlayer.getSkipSilenceEnabled()</code></a> instead.</div> 783</td> 784</tr> 785<tr class="altColor"> 786<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getVolume()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getVolume()</a></th> 787<td class="colLast"> 788<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVolume()"><code>Player.getVolume()</code></a> instead.</div> 789</td> 790</tr> 791<tr class="rowColor"> 792<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAudioAttributes​(AudioAttributes, boolean)</a></th> 793<td class="colLast"> 794<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> 795</td> 796</tr> 797<tr class="altColor"> 798<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAudioSessionId(int)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAudioSessionId​(int)</a></th> 799<td class="colLast"> 800<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setAudioSessionId(int)"><code>ExoPlayer.setAudioSessionId(int)</code></a> instead.</div> 801</td> 802</tr> 803<tr class="rowColor"> 804<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setAuxEffectInfo(com.google.android.exoplayer2.audio.AuxEffectInfo)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setAuxEffectInfo​(AuxEffectInfo)</a></th> 805<td class="colLast"> 806<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> 807</td> 808</tr> 809<tr class="altColor"> 810<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setSkipSilenceEnabled(boolean)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setSkipSilenceEnabled​(boolean)</a></th> 811<td class="colLast"> 812<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.setSkipSilenceEnabled(boolean)</code></a> instead.</div> 813</td> 814</tr> 815<tr class="rowColor"> 816<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#setVolume(float)">com.google.android.exoplayer2.ExoPlayer.AudioComponent.setVolume​(float)</a></th> 817<td class="colLast"> 818<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVolume(float)"><code>Player.setVolume(float)</code></a> instead.</div> 819</td> 820</tr> 821<tr class="altColor"> 822<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#decreaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.decreaseDeviceVolume()</a></th> 823<td class="colLast"> 824<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#decreaseDeviceVolume()"><code>Player.decreaseDeviceVolume()</code></a> instead.</div> 825</td> 826</tr> 827<tr class="rowColor"> 828<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceInfo()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceInfo()</a></th> 829<td class="colLast"> 830<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceInfo()"><code>Player.getDeviceInfo()</code></a> instead.</div> 831</td> 832</tr> 833<tr class="altColor"> 834<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceVolume()</a></th> 835<td class="colLast"> 836<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceVolume()"><code>Player.getDeviceVolume()</code></a> instead.</div> 837</td> 838</tr> 839<tr class="rowColor"> 840<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#increaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.increaseDeviceVolume()</a></th> 841<td class="colLast"> 842<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#increaseDeviceVolume()"><code>Player.increaseDeviceVolume()</code></a> instead.</div> 843</td> 844</tr> 845<tr class="altColor"> 846<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#isDeviceMuted()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.isDeviceMuted()</a></th> 847<td class="colLast"> 848<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isDeviceMuted()"><code>Player.isDeviceMuted()</code></a> instead.</div> 849</td> 850</tr> 851<tr class="rowColor"> 852<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceMuted(boolean)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceMuted​(boolean)</a></th> 853<td class="colLast"> 854<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceMuted(boolean)"><code>Player.setDeviceMuted(boolean)</code></a> instead.</div> 855</td> 856</tr> 857<tr class="altColor"> 858<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#setDeviceVolume(int)">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.setDeviceVolume​(int)</a></th> 859<td class="colLast"> 860<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceVolume(int)"><code>Player.setDeviceVolume(int)</code></a> instead.</div> 861</td> 862</tr> 863<tr class="rowColor"> 864<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.ExoPlayer.getAudioComponent()</a></th> 865<td class="colLast"> 866<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 867 interface.</div> 868</td> 869</tr> 870<tr class="altColor"> 871<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.ExoPlayer.getDeviceComponent()</a></th> 872<td class="colLast"> 873<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 874 interface.</div> 875</td> 876</tr> 877<tr class="rowColor"> 878<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.ExoPlayer.getTextComponent()</a></th> 879<td class="colLast"> 880<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 881 interface.</div> 882</td> 883</tr> 884<tr class="altColor"> 885<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.ExoPlayer.getVideoComponent()</a></th> 886<td class="colLast"> 887<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 888 interface.</div> 889</td> 890</tr> 891<tr class="rowColor"> 892<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.ExoPlayer.prepare​(MediaSource)</a></th> 893<td class="colLast"> 894<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> 895</td> 896</tr> 897<tr class="altColor"> 898<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#retry()">com.google.android.exoplayer2.ExoPlayer.retry()</a></th> 899<td class="colLast"> 900<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>Player.prepare()</code></a> instead.</div> 901</td> 902</tr> 903<tr class="rowColor"> 904<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.ExoPlayer.setHandleWakeLock​(boolean)</a></th> 905<td class="colLast"> 906<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> 907</td> 908</tr> 909<tr class="altColor"> 910<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html#getCurrentCues()">com.google.android.exoplayer2.ExoPlayer.TextComponent.getCurrentCues()</a></th> 911<td class="colLast"> 912<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentCues()"><code>Player.getCurrentCues()</code></a> instead.</div> 913</td> 914</tr> 915<tr class="rowColor"> 916<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearCameraMotionListener​(CameraMotionListener)</a></th> 917<td class="colLast"> 918<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> 919</td> 920</tr> 921<tr class="altColor"> 922<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoFrameMetadataListener​(VideoFrameMetadataListener)</a></th> 923<td class="colLast"> 924<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> 925 instead.</div> 926</td> 927</tr> 928<tr class="rowColor"> 929<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurface()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurface()</a></th> 930<td class="colLast"> 931<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurface()"><code>Player.clearVideoSurface()</code></a> instead.</div> 932</td> 933</tr> 934<tr class="altColor"> 935<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurfaceHolder(android.view.SurfaceHolder)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurfaceHolder​(SurfaceHolder)</a></th> 936<td class="colLast"> 937<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.clearVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div> 938</td> 939</tr> 940<tr class="rowColor"> 941<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurfaceView(android.view.SurfaceView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurfaceView​(SurfaceView)</a></th> 942<td class="colLast"> 943<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceView(android.view.SurfaceView)"><code>Player.clearVideoSurfaceView(SurfaceView)</code></a> instead.</div> 944</td> 945</tr> 946<tr class="altColor"> 947<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoTextureView(android.view.TextureView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoTextureView​(TextureView)</a></th> 948<td class="colLast"> 949<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoTextureView(android.view.TextureView)"><code>Player.clearVideoTextureView(TextureView)</code></a> instead.</div> 950</td> 951</tr> 952<tr class="rowColor"> 953<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoChangeFrameRateStrategy()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoChangeFrameRateStrategy()</a></th> 954<td class="colLast"> 955<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoChangeFrameRateStrategy()"><code>ExoPlayer.getVideoChangeFrameRateStrategy()</code></a> instead.</div> 956</td> 957</tr> 958<tr class="altColor"> 959<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoScalingMode()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoScalingMode()</a></th> 960<td class="colLast"> 961<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoScalingMode()"><code>ExoPlayer.getVideoScalingMode()</code></a> instead.</div> 962</td> 963</tr> 964<tr class="rowColor"> 965<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoSize()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoSize()</a></th> 966<td class="colLast"> 967<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVideoSize()"><code>Player.getVideoSize()</code></a> instead.</div> 968</td> 969</tr> 970<tr class="altColor"> 971<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setCameraMotionListener(com.google.android.exoplayer2.video.spherical.CameraMotionListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setCameraMotionListener​(CameraMotionListener)</a></th> 972<td class="colLast"> 973<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> 974</td> 975</tr> 976<tr class="rowColor"> 977<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​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int)</a></th> 978<td class="colLast"> 979<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> 980</td> 981</tr> 982<tr class="altColor"> 983<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoFrameMetadataListener​(VideoFrameMetadataListener)</a></th> 984<td class="colLast"> 985<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> 986 instead.</div> 987</td> 988</tr> 989<tr class="rowColor"> 990<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​(@com.google.android.exoplayer2.C.VideoScalingMode int)</a></th> 991<td class="colLast"> 992<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> 993</td> 994</tr> 995<tr class="altColor"> 996<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurface(android.view.Surface)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurface​(Surface)</a></th> 997<td class="colLast"> 998<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurface(android.view.Surface)"><code>Player.setVideoSurface(Surface)</code></a> instead.</div> 999</td> 1000</tr> 1001<tr class="rowColor"> 1002<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurfaceHolder(android.view.SurfaceHolder)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurfaceHolder​(SurfaceHolder)</a></th> 1003<td class="colLast"> 1004<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.setVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div> 1005</td> 1006</tr> 1007<tr class="altColor"> 1008<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoSurfaceView(android.view.SurfaceView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoSurfaceView​(SurfaceView)</a></th> 1009<td class="colLast"> 1010<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceView(android.view.SurfaceView)"><code>Player.setVideoSurfaceView(SurfaceView)</code></a> instead.</div> 1011</td> 1012</tr> 1013<tr class="rowColor"> 1014<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoTextureView(android.view.TextureView)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoTextureView​(TextureView)</a></th> 1015<td class="colLast"> 1016<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoTextureView(android.view.TextureView)"><code>Player.setVideoTextureView(TextureView)</code></a> instead.</div> 1017</td> 1018</tr> 1019<tr class="altColor"> 1020<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#stop(boolean)">com.google.android.exoplayer2.ext.cast.CastPlayer.stop​(boolean)</a></th> 1021<td class="colLast"></td> 1022</tr> 1023<tr class="rowColor"> 1024<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html#setFallbackFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory.setFallbackFactory​(HttpDataSource.Factory)</a></th> 1025<td class="colLast"> 1026<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 1027 <code>CronetEngine</code> is not available. Use the fallback factory directly in such cases.</div> 1028</td> 1029</tr> 1030<tr class="altColor"> 1031<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.setContentTypePredicate​(Predicate<String>)</a></th> 1032<td class="colLast"></td> 1033</tr> 1034<tr class="rowColor"> 1035<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.setContentTypePredicate​(Predicate<String>)</a></th> 1036<td class="colLast"> 1037<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> 1038</td> 1039</tr> 1040<tr class="altColor"> 1041<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithBitrate(int)">com.google.android.exoplayer2.Format.copyWithBitrate​(int)</a></th> 1042<td class="colLast"> 1043<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> 1044</td> 1045</tr> 1046<tr class="rowColor"> 1047<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithDrmInitData(com.google.android.exoplayer2.drm.DrmInitData)">com.google.android.exoplayer2.Format.copyWithDrmInitData​(DrmInitData)</a></th> 1048<td class="colLast"> 1049<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> 1050</td> 1051</tr> 1052<tr class="altColor"> 1053<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithFrameRate(float)">com.google.android.exoplayer2.Format.copyWithFrameRate​(float)</a></th> 1054<td class="colLast"> 1055<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> 1056</td> 1057</tr> 1058<tr class="rowColor"> 1059<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithGaplessInfo(int,int)">com.google.android.exoplayer2.Format.copyWithGaplessInfo​(int, int)</a></th> 1060<td class="colLast"> 1061<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> 1062</td> 1063</tr> 1064<tr class="altColor"> 1065<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithLabel(java.lang.String)">com.google.android.exoplayer2.Format.copyWithLabel​(String)</a></th> 1066<td class="colLast"> 1067<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> 1068</td> 1069</tr> 1070<tr class="rowColor"> 1071<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithManifestFormatInfo(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.Format.copyWithManifestFormatInfo​(Format)</a></th> 1072<td class="colLast"> 1073<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> 1074</td> 1075</tr> 1076<tr class="altColor"> 1077<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMaxInputSize(int)">com.google.android.exoplayer2.Format.copyWithMaxInputSize​(int)</a></th> 1078<td class="colLast"> 1079<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> 1080</td> 1081</tr> 1082<tr class="rowColor"> 1083<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMetadata(com.google.android.exoplayer2.metadata.Metadata)">com.google.android.exoplayer2.Format.copyWithMetadata​(Metadata)</a></th> 1084<td class="colLast"> 1085<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> 1086</td> 1087</tr> 1088<tr class="altColor"> 1089<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithSubsampleOffsetUs(long)">com.google.android.exoplayer2.Format.copyWithSubsampleOffsetUs​(long)</a></th> 1090<td class="colLast"> 1091<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> 1092</td> 1093</tr> 1094<tr class="rowColor"> 1095<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithVideoSize(int,int)">com.google.android.exoplayer2.Format.copyWithVideoSize​(int, int)</a></th> 1096<td class="colLast"> 1097<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> 1098</td> 1099</tr> 1100<tr class="altColor"> 1101<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createAudioSampleFormat(java.lang.String,java.lang.String,java.lang.String,int,int,int,int,java.util.List,com.google.android.exoplayer2.drm.DrmInitData,@com.google.android.exoplayer2.C.SelectionFlagsint,java.lang.String)">com.google.android.exoplayer2.Format.createAudioSampleFormat​(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String)</a></th> 1102<td class="colLast"> 1103<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> 1104</td> 1105</tr> 1106<tr class="rowColor"> 1107<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createContainerFormat(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,@com.google.android.exoplayer2.C.SelectionFlagsint,@com.google.android.exoplayer2.C.RoleFlagsint,java.lang.String)">com.google.android.exoplayer2.Format.createContainerFormat​(String, String, String, String, String, int, @com.google.android.exoplayer2.C.SelectionFlags int, @com.google.android.exoplayer2.C.RoleFlags int, String)</a></th> 1108<td class="colLast"> 1109<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> 1110</td> 1111</tr> 1112<tr class="altColor"> 1113<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createSampleFormat(java.lang.String,java.lang.String)">com.google.android.exoplayer2.Format.createSampleFormat​(String, String)</a></th> 1114<td class="colLast"> 1115<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> 1116</td> 1117</tr> 1118<tr class="rowColor"> 1119<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#createVideoSampleFormat(java.lang.String,java.lang.String,java.lang.String,int,int,int,int,float,java.util.List,com.google.android.exoplayer2.drm.DrmInitData)">com.google.android.exoplayer2.Format.createVideoSampleFormat​(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData)</a></th> 1120<td class="colLast"> 1121<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> 1122</td> 1123</tr> 1124<tr class="altColor"> 1125<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentTrackGroups()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentTrackGroups()</a></th> 1126<td class="colLast"></td> 1127</tr> 1128<tr class="rowColor"> 1129<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentTrackSelections()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentTrackSelections()</a></th> 1130<td class="colLast"></td> 1131</tr> 1132<tr class="altColor"> 1133<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentWindowIndex()</a></th> 1134<td class="colLast"></td> 1135</tr> 1136<tr class="rowColor"> 1137<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getNextWindowIndex()</a></th> 1138<td class="colLast"></td> 1139</tr> 1140<tr class="altColor"> 1141<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getPreviousWindowIndex()</a></th> 1142<td class="colLast"></td> 1143</tr> 1144<tr class="rowColor"> 1145<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNext()">com.google.android.exoplayer2.ForwardingPlayer.hasNext()</a></th> 1146<td class="colLast"></td> 1147</tr> 1148<tr class="altColor"> 1149<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasNextWindow()</a></th> 1150<td class="colLast"></td> 1151</tr> 1152<tr class="rowColor"> 1153<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPrevious()">com.google.android.exoplayer2.ForwardingPlayer.hasPrevious()</a></th> 1154<td class="colLast"></td> 1155</tr> 1156<tr class="altColor"> 1157<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasPreviousWindow()</a></th> 1158<td class="colLast"></td> 1159</tr> 1160<tr class="rowColor"> 1161<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowDynamic()</a></th> 1162<td class="colLast"></td> 1163</tr> 1164<tr class="altColor"> 1165<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowLive()</a></th> 1166<td class="colLast"></td> 1167</tr> 1168<tr class="rowColor"> 1169<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowSeekable()</a></th> 1170<td class="colLast"></td> 1171</tr> 1172<tr class="altColor"> 1173<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#next()">com.google.android.exoplayer2.ForwardingPlayer.next()</a></th> 1174<td class="colLast"></td> 1175</tr> 1176<tr class="rowColor"> 1177<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#previous()">com.google.android.exoplayer2.ForwardingPlayer.previous()</a></th> 1178<td class="colLast"></td> 1179</tr> 1180<tr class="altColor"> 1181<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToNextWindow()</a></th> 1182<td class="colLast"></td> 1183</tr> 1184<tr class="rowColor"> 1185<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToPreviousWindow()</a></th> 1186<td class="colLast"></td> 1187</tr> 1188<tr class="altColor"> 1189<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#stop(boolean)">com.google.android.exoplayer2.ForwardingPlayer.stop​(boolean)</a></th> 1190<td class="colLast"></td> 1191</tr> 1192<tr class="rowColor"> 1193<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/mediacodec/MediaCodecInfo.html#isSeamlessAdaptationSupported(com.google.android.exoplayer2.Format,com.google.android.exoplayer2.Format,boolean)">com.google.android.exoplayer2.mediacodec.MediaCodecInfo.isSeamlessAdaptationSupported​(Format, Format, boolean)</a></th> 1194<td class="colLast"> 1195<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> 1196</td> 1197</tr> 1198<tr class="altColor"> 1199<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setAdTagUri(java.lang.String)">com.google.android.exoplayer2.MediaItem.Builder.setAdTagUri​(String)</a></th> 1200<td class="colLast"> 1201<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> 1202 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> 1203</td> 1204</tr> 1205<tr class="rowColor"> 1206<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipEndPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipEndPositionMs​(long)</a></th> 1207<td class="colLast"> 1208<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> 1209</td> 1210</tr> 1211<tr class="altColor"> 1212<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToDefaultPosition(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToDefaultPosition​(boolean)</a></th> 1213<td class="colLast"> 1214<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> 1215</td> 1216</tr> 1217<tr class="rowColor"> 1218<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipRelativeToLiveWindow(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipRelativeToLiveWindow​(boolean)</a></th> 1219<td class="colLast"> 1220<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> 1221</td> 1222</tr> 1223<tr class="altColor"> 1224<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartPositionMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartPositionMs​(long)</a></th> 1225<td class="colLast"> 1226<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> 1227</td> 1228</tr> 1229<tr class="rowColor"> 1230<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setClipStartsAtKeyFrame(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setClipStartsAtKeyFrame​(boolean)</a></th> 1231<td class="colLast"> 1232<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> 1233</td> 1234</tr> 1235<tr class="altColor"> 1236<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmForceDefaultLicenseUri(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmForceDefaultLicenseUri​(boolean)</a></th> 1237<td class="colLast"> 1238<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> 1239</td> 1240</tr> 1241<tr class="rowColor"> 1242<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmKeySetId(byte%5B%5D)">com.google.android.exoplayer2.MediaItem.Builder.setDrmKeySetId​(byte[])</a></th> 1243<td class="colLast"> 1244<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> 1245</td> 1246</tr> 1247<tr class="altColor"> 1248<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmLicenseRequestHeaders(java.util.Map)">com.google.android.exoplayer2.MediaItem.Builder.setDrmLicenseRequestHeaders​(Map<String, String>)</a></th> 1249<td class="colLast"> 1250<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 1251 map to clear the headers.</div> 1252</td> 1253</tr> 1254<tr class="rowColor"> 1255<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmLicenseUri(android.net.Uri)">com.google.android.exoplayer2.MediaItem.Builder.setDrmLicenseUri​(Uri)</a></th> 1256<td class="colLast"> 1257<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> 1258</td> 1259</tr> 1260<tr class="altColor"> 1261<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmMultiSession(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmMultiSession​(boolean)</a></th> 1262<td class="colLast"> 1263<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> 1264</td> 1265</tr> 1266<tr class="rowColor"> 1267<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmPlayClearContentWithoutKey(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmPlayClearContentWithoutKey​(boolean)</a></th> 1268<td class="colLast"> 1269<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> 1270</td> 1271</tr> 1272<tr class="altColor"> 1273<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmSessionForClearPeriods(boolean)">com.google.android.exoplayer2.MediaItem.Builder.setDrmSessionForClearPeriods​(boolean)</a></th> 1274<td class="colLast"> 1275<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> 1276</td> 1277</tr> 1278<tr class="rowColor"> 1279<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmSessionForClearTypes(java.util.List)">com.google.android.exoplayer2.MediaItem.Builder.setDrmSessionForClearTypes​(List<Integer>)</a></th> 1280<td class="colLast"> 1281<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 1282 empty list to clear the contents.</div> 1283</td> 1284</tr> 1285<tr class="altColor"> 1286<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setDrmUuid(java.util.UUID)">com.google.android.exoplayer2.MediaItem.Builder.setDrmUuid​(UUID)</a></th> 1287<td class="colLast"> 1288<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 1289 <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#%3Cinit%3E(java.util.UUID)"><code>Builder(UUID)</code></a> instead.</div> 1290</td> 1291</tr> 1292<tr class="rowColor"> 1293<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxOffsetMs​(long)</a></th> 1294<td class="colLast"> 1295<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> 1296</td> 1297</tr> 1298<tr class="altColor"> 1299<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMaxPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMaxPlaybackSpeed​(float)</a></th> 1300<td class="colLast"> 1301<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> 1302</td> 1303</tr> 1304<tr class="rowColor"> 1305<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinOffsetMs​(long)</a></th> 1306<td class="colLast"> 1307<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> 1308</td> 1309</tr> 1310<tr class="altColor"> 1311<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveMinPlaybackSpeed(float)">com.google.android.exoplayer2.MediaItem.Builder.setLiveMinPlaybackSpeed​(float)</a></th> 1312<td class="colLast"> 1313<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> 1314</td> 1315</tr> 1316<tr class="rowColor"> 1317<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveTargetOffsetMs(long)">com.google.android.exoplayer2.MediaItem.Builder.setLiveTargetOffsetMs​(long)</a></th> 1318<td class="colLast"> 1319<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> 1320</td> 1321</tr> 1322<tr class="altColor"> 1323<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Builder.html#setSubtitles(java.util.List)">com.google.android.exoplayer2.MediaItem.Builder.setSubtitles​(List<MediaItem.Subtitle>)</a></th> 1324<td class="colLast"> 1325<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 1326 contents.</div> 1327</td> 1328</tr> 1329<tr class="rowColor"> 1330<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> 1331<td class="colLast"> 1332<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#build()"><code>MediaItem.ClippingConfiguration.Builder.build()</code></a> instead.</div> 1333</td> 1334</tr> 1335<tr class="altColor"> 1336<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setArtworkData(byte%5B%5D)">com.google.android.exoplayer2.MediaMetadata.Builder.setArtworkData​(byte[])</a></th> 1337<td class="colLast"> 1338<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> 1339</td> 1340</tr> 1341<tr class="rowColor"> 1342<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.Builder.html#setYear(java.lang.Integer)">com.google.android.exoplayer2.MediaMetadata.Builder.setYear​(Integer)</a></th> 1343<td class="colLast"> 1344<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> 1345</td> 1346</tr> 1347<tr class="altColor"> 1348<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forDash(android.content.Context,android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forDash​(Context, Uri, DataSource.Factory, RenderersFactory)</a></th> 1349<td class="colLast"> 1350<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, 1351 DataSource.Factory)</code></a> instead.</div> 1352</td> 1353</tr> 1354<tr class="rowColor"> 1355<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forHls(android.content.Context,android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forHls​(Context, Uri, DataSource.Factory, RenderersFactory)</a></th> 1356<td class="colLast"> 1357<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, 1358 DataSource.Factory)</code></a> instead.</div> 1359</td> 1360</tr> 1361<tr class="altColor"> 1362<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forProgressive(android.content.Context,android.net.Uri)">com.google.android.exoplayer2.offline.DownloadHelper.forProgressive​(Context, Uri)</a></th> 1363<td class="colLast"> 1364<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> 1365</td> 1366</tr> 1367<tr class="rowColor"> 1368<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadHelper.html#forSmoothStreaming(android.net.Uri,com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.RenderersFactory)">com.google.android.exoplayer2.offline.DownloadHelper.forSmoothStreaming​(Uri, DataSource.Factory, RenderersFactory)</a></th> 1369<td class="colLast"> 1370<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, 1371 DataSource.Factory)</code></a> instead.</div> 1372</td> 1373</tr> 1374<tr class="altColor"> 1375<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackGroups()">com.google.android.exoplayer2.Player.getCurrentTrackGroups()</a></th> 1376<td class="colLast"> 1377<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div> 1378</td> 1379</tr> 1380<tr class="rowColor"> 1381<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackSelections()">com.google.android.exoplayer2.Player.getCurrentTrackSelections()</a></th> 1382<td class="colLast"> 1383<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div> 1384</td> 1385</tr> 1386<tr class="altColor"> 1387<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentWindowIndex()">com.google.android.exoplayer2.Player.getCurrentWindowIndex()</a></th> 1388<td class="colLast"> 1389<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentMediaItemIndex()"><code>Player.getCurrentMediaItemIndex()</code></a> instead.</div> 1390</td> 1391</tr> 1392<tr class="rowColor"> 1393<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getNextWindowIndex()">com.google.android.exoplayer2.Player.getNextWindowIndex()</a></th> 1394<td class="colLast"> 1395<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getNextMediaItemIndex()"><code>Player.getNextMediaItemIndex()</code></a> instead.</div> 1396</td> 1397</tr> 1398<tr class="altColor"> 1399<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getPreviousWindowIndex()">com.google.android.exoplayer2.Player.getPreviousWindowIndex()</a></th> 1400<td class="colLast"> 1401<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getPreviousMediaItemIndex()"><code>Player.getPreviousMediaItemIndex()</code></a> instead.</div> 1402</td> 1403</tr> 1404<tr class="rowColor"> 1405<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNext()">com.google.android.exoplayer2.Player.hasNext()</a></th> 1406<td class="colLast"> 1407<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div> 1408</td> 1409</tr> 1410<tr class="altColor"> 1411<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNextWindow()">com.google.android.exoplayer2.Player.hasNextWindow()</a></th> 1412<td class="colLast"> 1413<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div> 1414</td> 1415</tr> 1416<tr class="rowColor"> 1417<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPrevious()">com.google.android.exoplayer2.Player.hasPrevious()</a></th> 1418<td class="colLast"> 1419<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div> 1420</td> 1421</tr> 1422<tr class="altColor"> 1423<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPreviousWindow()">com.google.android.exoplayer2.Player.hasPreviousWindow()</a></th> 1424<td class="colLast"> 1425<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div> 1426</td> 1427</tr> 1428<tr class="rowColor"> 1429<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.Player.isCurrentWindowDynamic()</a></th> 1430<td class="colLast"> 1431<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemDynamic()"><code>Player.isCurrentMediaItemDynamic()</code></a> instead.</div> 1432</td> 1433</tr> 1434<tr class="altColor"> 1435<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowLive()">com.google.android.exoplayer2.Player.isCurrentWindowLive()</a></th> 1436<td class="colLast"> 1437<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemLive()"><code>Player.isCurrentMediaItemLive()</code></a> instead.</div> 1438</td> 1439</tr> 1440<tr class="rowColor"> 1441<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.Player.isCurrentWindowSeekable()</a></th> 1442<td class="colLast"> 1443<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemSeekable()"><code>Player.isCurrentMediaItemSeekable()</code></a> instead.</div> 1444</td> 1445</tr> 1446<tr class="altColor"> 1447<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onLoadingChanged(boolean)">com.google.android.exoplayer2.Player.Listener.onLoadingChanged​(boolean)</a></th> 1448<td class="colLast"> 1449<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html#onIsLoadingChanged(boolean)"><code>Player.Listener.onIsLoadingChanged(boolean)</code></a> instead.</div> 1450</td> 1451</tr> 1452<tr class="rowColor"> 1453<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​(boolean, @com.google.android.exoplayer2.Player.State int)</a></th> 1454<td class="colLast"> 1455<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> 1456</td> 1457</tr> 1458<tr class="altColor"> 1459<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​(@com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th> 1460<td class="colLast"> 1461<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> 1462</td> 1463</tr> 1464<tr class="rowColor"> 1465<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.Listener.html#onSeekProcessed()">com.google.android.exoplayer2.Player.Listener.onSeekProcessed()</a></th> 1466<td class="colLast"> 1467<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> 1468</td> 1469</tr> 1470<tr class="altColor"> 1471<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​(TrackGroupArray, TrackSelectionArray)</a></th> 1472<td class="colLast"> 1473<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> 1474</td> 1475</tr> 1476<tr class="rowColor"> 1477<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#next()">com.google.android.exoplayer2.Player.next()</a></th> 1478<td class="colLast"> 1479<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div> 1480</td> 1481</tr> 1482<tr class="altColor"> 1483<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#previous()">com.google.android.exoplayer2.Player.previous()</a></th> 1484<td class="colLast"> 1485<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div> 1486</td> 1487</tr> 1488<tr class="rowColor"> 1489<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToNextWindow()">com.google.android.exoplayer2.Player.seekToNextWindow()</a></th> 1490<td class="colLast"> 1491<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div> 1492</td> 1493</tr> 1494<tr class="altColor"> 1495<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToPreviousWindow()">com.google.android.exoplayer2.Player.seekToPreviousWindow()</a></th> 1496<td class="colLast"> 1497<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div> 1498</td> 1499</tr> 1500<tr class="rowColor"> 1501<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#stop(boolean)">com.google.android.exoplayer2.Player.stop​(boolean)</a></th> 1502<td class="colLast"> 1503<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 1504 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 1505 <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>re-preparing</code></a> the player.</div> 1506</td> 1507</tr> 1508<tr class="altColor"> 1509<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/PlayerMessage.html#setHandler(android.os.Handler)">com.google.android.exoplayer2.PlayerMessage.setHandler​(Handler)</a></th> 1510<td class="colLast"> 1511<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/PlayerMessage.html#setLooper(android.os.Looper)"><code>PlayerMessage.setLooper(Looper)</code></a> instead.</div> 1512</td> 1513</tr> 1514<tr class="rowColor"> 1515<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#build()">com.google.android.exoplayer2.SimpleExoPlayer.Builder.build()</a></th> 1516<td class="colLast"> 1517<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#build()"><code>ExoPlayer.Builder.build()</code></a> instead.</div> 1518</td> 1519</tr> 1520<tr class="altColor"> 1521<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs​(long)</a></th> 1522<td class="colLast"> 1523<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)"><code>ExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs(long)</code></a> 1524 instead.</div> 1525</td> 1526</tr> 1527<tr class="rowColor"> 1528<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setAnalyticsCollector(com.google.android.exoplayer2.analytics.AnalyticsCollector)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setAnalyticsCollector​(AnalyticsCollector)</a></th> 1529<td class="colLast"> 1530<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> 1531</td> 1532</tr> 1533<tr class="altColor"> 1534<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setAudioAttributes(com.google.android.exoplayer2.audio.AudioAttributes,boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setAudioAttributes​(AudioAttributes, boolean)</a></th> 1535<td class="colLast"> 1536<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> 1537 instead.</div> 1538</td> 1539</tr> 1540<tr class="rowColor"> 1541<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setBandwidthMeter(com.google.android.exoplayer2.upstream.BandwidthMeter)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setBandwidthMeter​(BandwidthMeter)</a></th> 1542<td class="colLast"> 1543<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> 1544</td> 1545</tr> 1546<tr class="altColor"> 1547<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setClock(com.google.android.exoplayer2.util.Clock)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setClock​(Clock)</a></th> 1548<td class="colLast"> 1549<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> 1550</td> 1551</tr> 1552<tr class="rowColor"> 1553<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setDetachSurfaceTimeoutMs​(long)</a></th> 1554<td class="colLast"> 1555<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)"><code>ExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)</code></a> instead.</div> 1556</td> 1557</tr> 1558<tr class="altColor"> 1559<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setHandleAudioBecomingNoisy​(boolean)</a></th> 1560<td class="colLast"> 1561<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)"><code>ExoPlayer.Builder.setHandleAudioBecomingNoisy(boolean)</code></a> instead.</div> 1562</td> 1563</tr> 1564<tr class="rowColor"> 1565<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLivePlaybackSpeedControl(com.google.android.exoplayer2.LivePlaybackSpeedControl)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLivePlaybackSpeedControl​(LivePlaybackSpeedControl)</a></th> 1566<td class="colLast"> 1567<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> 1568</td> 1569</tr> 1570<tr class="altColor"> 1571<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLoadControl(com.google.android.exoplayer2.LoadControl)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLoadControl​(LoadControl)</a></th> 1572<td class="colLast"> 1573<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> 1574</td> 1575</tr> 1576<tr class="rowColor"> 1577<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setLooper(android.os.Looper)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setLooper​(Looper)</a></th> 1578<td class="colLast"> 1579<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> 1580</td> 1581</tr> 1582<tr class="altColor"> 1583<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​(MediaSource.Factory)</a></th> 1584<td class="colLast"> 1585<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> 1586</td> 1587</tr> 1588<tr class="rowColor"> 1589<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setPauseAtEndOfMediaItems​(boolean)</a></th> 1590<td class="colLast"> 1591<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)"><code>ExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)</code></a> instead.</div> 1592</td> 1593</tr> 1594<tr class="altColor"> 1595<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setPriorityTaskManager(com.google.android.exoplayer2.util.PriorityTaskManager)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setPriorityTaskManager​(PriorityTaskManager)</a></th> 1596<td class="colLast"> 1597<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> 1598 instead.</div> 1599</td> 1600</tr> 1601<tr class="rowColor"> 1602<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setReleaseTimeoutMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setReleaseTimeoutMs​(long)</a></th> 1603<td class="colLast"> 1604<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setReleaseTimeoutMs(long)"><code>ExoPlayer.Builder.setReleaseTimeoutMs(long)</code></a> instead.</div> 1605</td> 1606</tr> 1607<tr class="altColor"> 1608<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekBackIncrementMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekBackIncrementMs​(long)</a></th> 1609<td class="colLast"> 1610<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekBackIncrementMs(long)"><code>ExoPlayer.Builder.setSeekBackIncrementMs(long)</code></a> instead.</div> 1611</td> 1612</tr> 1613<tr class="rowColor"> 1614<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekForwardIncrementMs(long)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekForwardIncrementMs​(long)</a></th> 1615<td class="colLast"> 1616<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekForwardIncrementMs(long)"><code>ExoPlayer.Builder.setSeekForwardIncrementMs(long)</code></a> instead.</div> 1617</td> 1618</tr> 1619<tr class="altColor"> 1620<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSeekParameters(com.google.android.exoplayer2.SeekParameters)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSeekParameters​(SeekParameters)</a></th> 1621<td class="colLast"> 1622<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> 1623</td> 1624</tr> 1625<tr class="rowColor"> 1626<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setSkipSilenceEnabled​(boolean)</a></th> 1627<td class="colLast"> 1628<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.Builder.setSkipSilenceEnabled(boolean)</code></a> instead.</div> 1629</td> 1630</tr> 1631<tr class="altColor"> 1632<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setTrackSelector(com.google.android.exoplayer2.trackselection.TrackSelector)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setTrackSelector​(TrackSelector)</a></th> 1633<td class="colLast"> 1634<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> 1635</td> 1636</tr> 1637<tr class="rowColor"> 1638<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setUseLazyPreparation(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setUseLazyPreparation​(boolean)</a></th> 1639<td class="colLast"> 1640<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setUseLazyPreparation(boolean)"><code>ExoPlayer.Builder.setUseLazyPreparation(boolean)</code></a> instead.</div> 1641</td> 1642</tr> 1643<tr class="altColor"> 1644<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​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int)</a></th> 1645<td class="colLast"> 1646<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> 1647</td> 1648</tr> 1649<tr class="rowColor"> 1650<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​(@com.google.android.exoplayer2.C.VideoScalingMode int)</a></th> 1651<td class="colLast"> 1652<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> 1653</td> 1654</tr> 1655<tr class="altColor"> 1656<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setWakeMode(@com.google.android.exoplayer2.C.WakeModeint)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setWakeMode​(@com.google.android.exoplayer2.C.WakeMode int)</a></th> 1657<td class="colLast"> 1658<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> 1659</td> 1660</tr> 1661<tr class="rowColor"> 1662<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.SimpleExoPlayer.prepare​(MediaSource)</a></th> 1663<td class="colLast"> 1664<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> 1665</td> 1666</tr> 1667<tr class="altColor"> 1668<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#retry()">com.google.android.exoplayer2.SimpleExoPlayer.retry()</a></th> 1669<td class="colLast"> 1670<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/SimpleExoPlayer.html#prepare()"><code>SimpleExoPlayer.prepare()</code></a> instead.</div> 1671</td> 1672</tr> 1673<tr class="rowColor"> 1674<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setHandleWakeLock​(boolean)</a></th> 1675<td class="colLast"></td> 1676</tr> 1677<tr class="altColor"> 1678<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#stop(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.stop​(boolean)</a></th> 1679<td class="colLast"></td> 1680</tr> 1681<tr class="rowColor"> 1682<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​(MediaSource.MediaSourceCaller, TransferListener)</a></th> 1683<td class="colLast"> 1684<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> 1685 instead.</div> 1686</td> 1687</tr> 1688<tr class="altColor"> 1689<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​(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher)</a></th> 1690<td class="colLast"> 1691<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. 1692 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 1693 <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> 1694</td> 1695</tr> 1696<tr class="rowColor"> 1697<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/SingleSampleMediaSource.Factory.html#setTrackId(java.lang.String)">com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory.setTrackId​(String)</a></th> 1698<td class="colLast"> 1699<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.SubtitleConfiguration.Builder.html#setId(java.lang.String)"><code>MediaItem.SubtitleConfiguration.Builder.setId(String)</code></a> instead (on the 1700 <a href="com/google/android/exoplayer2/MediaItem.SubtitleConfiguration.html" title="class in com.google.android.exoplayer2"><code>MediaItem.SubtitleConfiguration</code></a> passed to <a href="com/google/android/exoplayer2/source/SingleSampleMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem.SubtitleConfiguration,long)"><code>SingleSampleMediaSource.Factory.createMediaSource(MediaItem.SubtitleConfiguration, long)</code></a>). <code>trackId</code> will only be 1701 used if <a href="com/google/android/exoplayer2/MediaItem.SubtitleConfiguration.html#id"><code>MediaItem.SubtitleConfiguration.id</code></a> is <code>null</code>.</div> 1702</td> 1703</tr> 1704<tr class="altColor"> 1705<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getAudioComponent()</a></th> 1706<td class="colLast"></td> 1707</tr> 1708<tr class="rowColor"> 1709<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getDeviceComponent()</a></th> 1710<td class="colLast"></td> 1711</tr> 1712<tr class="altColor"> 1713<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getTextComponent()</a></th> 1714<td class="colLast"></td> 1715</tr> 1716<tr class="rowColor"> 1717<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getVideoComponent()</a></th> 1718<td class="colLast"></td> 1719</tr> 1720<tr class="altColor"> 1721<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#prepare(com.google.android.exoplayer2.source.MediaSource)">com.google.android.exoplayer2.testutil.StubExoPlayer.prepare​(MediaSource)</a></th> 1722<td class="colLast"></td> 1723</tr> 1724<tr class="rowColor"> 1725<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#retry()">com.google.android.exoplayer2.testutil.StubExoPlayer.retry()</a></th> 1726<td class="colLast"></td> 1727</tr> 1728<tr class="altColor"> 1729<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.testutil.StubExoPlayer.setHandleWakeLock​(boolean)</a></th> 1730<td class="colLast"></td> 1731</tr> 1732<tr class="rowColor"> 1733<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubPlayer.html#stop(boolean)">com.google.android.exoplayer2.testutil.StubPlayer.stop​(boolean)</a></th> 1734<td class="colLast"></td> 1735</tr> 1736<tr class="altColor"> 1737<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.html#getPeriodPosition(com.google.android.exoplayer2.Timeline.Window,com.google.android.exoplayer2.Timeline.Period,int,long)">com.google.android.exoplayer2.Timeline.getPeriodPosition​(Timeline.Window, Timeline.Period, int, long)</a></th> 1738<td class="colLast"> 1739<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> 1740</td> 1741</tr> 1742<tr class="rowColor"> 1743<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#getSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.getSelectionOverride​(int, TrackGroupArray)</a></th> 1744<td class="colLast"> 1745<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 1746 <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div> 1747</td> 1748</tr> 1749<tr class="altColor"> 1750<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html#hasSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.hasSelectionOverride​(int, TrackGroupArray)</a></th> 1751<td class="colLast"> 1752<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 1753 <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div> 1754</td> 1755</tr> 1756<tr class="rowColor"> 1757<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#clearSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.clearSelectionOverride​(int, TrackGroupArray)</a></th> 1758<td class="colLast"> 1759<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> 1760</td> 1761</tr> 1762<tr class="altColor"> 1763<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#clearSelectionOverrides(int)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.clearSelectionOverrides​(int)</a></th> 1764<td class="colLast"> 1765<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> 1766</td> 1767</tr> 1768<tr class="rowColor"> 1769<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html#setSelectionOverride(int,com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)">com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder.setSelectionOverride​(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride)</a></th> 1770<td class="colLast"> 1771<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> 1772</td> 1773</tr> 1774<tr class="altColor"> 1775<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​(Context)</a></th> 1776<td class="colLast"> 1777<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> 1778</td> 1779</tr> 1780<tr class="rowColor"> 1781<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​(boolean)</a></th> 1782<td class="colLast"> 1783<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html#setFlattenForSlowMotion(boolean)"><code>TransformationRequest.Builder.setFlattenForSlowMotion(boolean)</code></a> 1784 instead.</div> 1785</td> 1786</tr> 1787<tr class="altColor"> 1788<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​(Transformer.Listener)</a></th> 1789<td class="colLast"> 1790<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> 1791</td> 1792</tr> 1793<tr class="rowColor"> 1794<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​(String)</a></th> 1795<td class="colLast"> 1796<div class="deprecationComment">This feature will be removed in a following release and the MIME type of the 1797 output will always be MP4.</div> 1798</td> 1799</tr> 1800<tr class="altColor"> 1801<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​(MediaItem, Exception)</a></th> 1802<td class="colLast"> 1803<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> 1804</td> 1805</tr> 1806<tr class="rowColor"> 1807<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​(Transformer.Listener)</a></th> 1808<td class="colLast"> 1809<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> 1810</td> 1811</tr> 1812<tr class="altColor"> 1813<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ui/DownloadNotificationHelper.html#buildProgressNotification(android.content.Context,int,android.app.PendingIntent,java.lang.String,java.util.List)">com.google.android.exoplayer2.ui.DownloadNotificationHelper.buildProgressNotification​(Context, int, PendingIntent, String, List<Download>)</a></th> 1814<td class="colLast"> 1815<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, 1816 int)</code></a>.</div> 1817</td> 1818</tr> 1819<tr class="rowColor"> 1820<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html#setContentTypePredicate(com.google.common.base.Predicate)">com.google.android.exoplayer2.upstream.DefaultHttpDataSource.setContentTypePredicate​(Predicate<String>)</a></th> 1821<td class="colLast"> 1822<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> 1823 instead.</div> 1824</td> 1825</tr> 1826<tr class="altColor"> 1827<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/video/VideoDecoderGLSurfaceView.html#getVideoDecoderOutputBufferRenderer()">com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView.getVideoDecoderOutputBufferRenderer()</a></th> 1828<td class="colLast"> 1829<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> 1830</td> 1831</tr> 1832<tr class="rowColor"> 1833<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/video/VideoRendererEventListener.html#onVideoInputFormatChanged(com.google.android.exoplayer2.Format)">com.google.android.exoplayer2.video.VideoRendererEventListener.onVideoInputFormatChanged​(Format)</a></th> 1834<td class="colLast"> 1835<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> 1836</td> 1837</tr> 1838</tbody> 1839</table> 1840</li> 1841</ul> 1842<a id="constructor"> 1843<!-- --> 1844</a> 1845<ul class="blockList"> 1846<li class="blockList"> 1847<table class="deprecatedSummary"> 1848<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 1849<tr> 1850<th class="colFirst" scope="col">Constructor</th> 1851<th class="colLast" scope="col">Description</th> 1852</tr> 1853<tbody> 1854<tr class="altColor"> 1855<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​(AudioCapabilities, AudioProcessor[])</a></th> 1856<td class="colLast"> 1857<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> 1858</td> 1859</tr> 1860<tr class="rowColor"> 1861<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DefaultDrmSessionManager.html#%3Cinit%3E(java.util.UUID,com.google.android.exoplayer2.drm.ExoMediaDrm,com.google.android.exoplayer2.drm.MediaDrmCallback,java.util.HashMap)">com.google.android.exoplayer2.drm.DefaultDrmSessionManager​(UUID, ExoMediaDrm, MediaDrmCallback, HashMap<String, String>)</a></th> 1862<td class="colLast"> 1863<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> 1864</td> 1865</tr> 1866<tr class="altColor"> 1867<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/OfflineLicenseHelper.html#%3Cinit%3E(java.util.UUID,com.google.android.exoplayer2.drm.ExoMediaDrm.Provider,com.google.android.exoplayer2.drm.MediaDrmCallback,java.util.Map,com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher)">com.google.android.exoplayer2.drm.OfflineLicenseHelper​(UUID, ExoMediaDrm.Provider, MediaDrmCallback, Map<String, String>, DrmSessionEventListener.EventDispatcher)</a></th> 1868<td class="colLast"> 1869<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, 1870 DrmSessionEventListener.EventDispatcher)</code></a> instead.</div> 1871</td> 1872</tr> 1873<tr class="rowColor"> 1874<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.Factory.html#%3Cinit%3E(com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper,java.util.concurrent.Executor)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory​(CronetEngineWrapper, Executor)</a></th> 1875<td class="colLast"> 1876<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> 1877</td> 1878</tr> 1879<tr class="altColor"> 1880<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.OpenException.html#%3Cinit%3E(java.io.IOException,com.google.android.exoplayer2.upstream.DataSpec,int)">com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException​(IOException, DataSpec, int)</a></th> 1881<td class="colLast"> 1882<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> 1883</td> 1884</tr> 1885<tr class="rowColor"> 1886<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html#%3Cinit%3E(okhttp3.Call.Factory)">com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource​(Call.Factory)</a></th> 1887<td class="colLast"> 1888<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> 1889</td> 1890</tr> 1891<tr class="altColor"> 1892<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/workmanager/WorkManagerScheduler.html#%3Cinit%3E(java.lang.String)">com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler​(String)</a></th> 1893<td class="colLast"> 1894<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> 1895</td> 1896</tr> 1897<tr class="rowColor"> 1898<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.html#%3Cinit%3E(long,long,long,float,float)">com.google.android.exoplayer2.MediaItem.LiveConfiguration​(long, long, long, float, float)</a></th> 1899<td class="colLast"> 1900<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> 1901</td> 1902</tr> 1903<tr class="altColor"> 1904<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.Subtitle.html#%3Cinit%3E(android.net.Uri,java.lang.String,java.lang.String)">com.google.android.exoplayer2.MediaItem.Subtitle​(Uri, String, String)</a></th> 1905<td class="colLast"> 1906<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> 1907</td> 1908</tr> 1909<tr class="rowColor"> 1910<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DefaultDownloaderFactory.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory)">com.google.android.exoplayer2.offline.DefaultDownloaderFactory​(CacheDataSource.Factory)</a></th> 1911<td class="colLast"> 1912<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> 1913</td> 1914</tr> 1915<tr class="altColor"> 1916<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadManager.html#%3Cinit%3E(android.content.Context,com.google.android.exoplayer2.database.DatabaseProvider,com.google.android.exoplayer2.upstream.cache.Cache,com.google.android.exoplayer2.upstream.DataSource.Factory)">com.google.android.exoplayer2.offline.DownloadManager​(Context, DatabaseProvider, Cache, DataSource.Factory)</a></th> 1917<td class="colLast"> 1918<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> 1919</td> 1920</tr> 1921<tr class="rowColor"> 1922<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/DownloadService.html#%3Cinit%3E(int,long,java.lang.String,int)">com.google.android.exoplayer2.offline.DownloadService​(int, long, String, int)</a></th> 1923<td class="colLast"> 1924<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> 1925</td> 1926</tr> 1927<tr class="altColor"> 1928<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.PositionInfo.html#%3Cinit%3E(java.lang.Object,int,java.lang.Object,int,long,long,int,int)">com.google.android.exoplayer2.Player.PositionInfo​(Object, int, Object, int, long, long, int, int)</a></th> 1929<td class="colLast"> 1930<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, 1931 int)</code></a> instead.</div> 1932</td> 1933</tr> 1934<tr class="rowColor"> 1935<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​(Context, RenderersFactory, TrackSelector, MediaSource.Factory, LoadControl, BandwidthMeter, AnalyticsCollector, boolean, Clock, Looper)</a></th> 1936<td class="colLast"> 1937<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> 1938</td> 1939</tr> 1940<tr class="altColor"> 1941<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#%3Cinit%3E(android.content.Context)">com.google.android.exoplayer2.SimpleExoPlayer.Builder​(Context)</a></th> 1942<td class="colLast"> 1943<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> 1944</td> 1945</tr> 1946<tr class="rowColor"> 1947<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​(String, List<String>, List<HlsMultivariantPlaylist.Variant>, List<HlsMultivariantPlaylist.Rendition>, List<HlsMultivariantPlaylist.Rendition>, List<HlsMultivariantPlaylist.Rendition>, List<HlsMultivariantPlaylist.Rendition>, Format, List<Format>, boolean, Map<String, String>, List<DrmInitData>)</a></th> 1948<td class="colLast"> 1949<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<java.lang.String>, java.util.List<com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant>, java.util.List<com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition>, java.util.List<com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition>, java.util.List<com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition>, java.util.List<com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Rendition>, com.google.android.exoplayer2.Format, java.util.List<com.google.android.exoplayer2.Format>, boolean, java.util.Map<java.lang.String, java.lang.String>, java.util.List<com.google.android.exoplayer2.drm.DrmInitData>)</code></a> instead.</div> 1950</td> 1951</tr> 1952<tr class="altColor"> 1953<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/SinglePeriodTimeline.html#%3Cinit%3E(long,boolean,boolean,boolean,java.lang.Object,java.lang.Object)">com.google.android.exoplayer2.source.SinglePeriodTimeline​(long, boolean, boolean, boolean, Object, Object)</a></th> 1954<td class="colLast"> 1955<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, 1956 MediaItem)</code></a> instead.</div> 1957</td> 1958</tr> 1959<tr class="rowColor"> 1960<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeExoMediaDrm.html#%3Cinit%3E()">com.google.android.exoplayer2.testutil.FakeExoMediaDrm()</a></th> 1961<td class="colLast"> 1962<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> 1963</td> 1964</tr> 1965<tr class="altColor"> 1966<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​(int, Object, boolean, boolean, boolean, boolean, long, long, long, AdPlaybackState, MediaItem)</a></th> 1967<td class="colLast"> 1968<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, 1969 boolean, long, long, long, List, MediaItem)</code></a> instead.</div> 1970</td> 1971</tr> 1972<tr class="rowColor"> 1973<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/text/Cue.html#%3Cinit%3E(java.lang.CharSequence)">com.google.android.exoplayer2.text.Cue​(CharSequence)</a></th> 1974<td class="colLast"> 1975<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> 1976</td> 1977</tr> 1978<tr class="altColor"> 1979<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html#%3Cinit%3E()">com.google.android.exoplayer2.trackselection.DefaultTrackSelector()</a></th> 1980<td class="colLast"> 1981<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> 1982</td> 1983</tr> 1984<tr class="rowColor"> 1985<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> 1986<td class="colLast"> 1987<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> 1988</td> 1989</tr> 1990<tr class="altColor"> 1991<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> 1992<td class="colLast"> 1993<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> 1994</td> 1995</tr> 1996<tr class="rowColor"> 1997<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectorResult.html#%3Cinit%3E(com.google.android.exoplayer2.RendererConfiguration%5B%5D,com.google.android.exoplayer2.trackselection.ExoTrackSelection%5B%5D,java.lang.Object)">com.google.android.exoplayer2.trackselection.TrackSelectorResult​(RendererConfiguration[], ExoTrackSelection[], Object)</a></th> 1998<td class="colLast"> 1999<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[], 2000 TracksInfo, Object)</code></a>.</div> 2001</td> 2002</tr> 2003<tr class="altColor"> 2004<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> 2005<td class="colLast"> 2006<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> 2007</td> 2008</tr> 2009<tr class="rowColor"> 2010<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​(View, @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int)</a></th> 2011<td class="colLast"> 2012<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> 2013</td> 2014</tr> 2015<tr class="altColor"> 2016<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ui/PlayerNotificationManager.Builder.html#%3Cinit%3E(android.content.Context,int,java.lang.String,com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter)">com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder​(Context, int, String, PlayerNotificationManager.MediaDescriptionAdapter)</a></th> 2017<td class="colLast"> 2018<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> 2019</td> 2020</tr> 2021<tr class="rowColor"> 2022<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/AssetDataSource.AssetDataSourceException.html#%3Cinit%3E(java.io.IOException)">com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException​(IOException)</a></th> 2023<td class="colLast"> 2024<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> 2025</td> 2026</tr> 2027<tr class="altColor"> 2028<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/cache/SimpleCache.html#%3Cinit%3E(java.io.File,com.google.android.exoplayer2.upstream.cache.CacheEvictor)">com.google.android.exoplayer2.upstream.cache.SimpleCache​(File, CacheEvictor)</a></th> 2029<td class="colLast"> 2030<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> 2031</td> 2032</tr> 2033<tr class="rowColor"> 2034<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/ContentDataSource.ContentDataSourceException.html#%3Cinit%3E(java.io.IOException)">com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException​(IOException)</a></th> 2035<td class="colLast"> 2036<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> 2037</td> 2038</tr> 2039<tr class="altColor"> 2040<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​(Uri, @com.google.android.exoplayer2.upstream.DataSpec.Flags int)</a></th> 2041<td class="colLast"> 2042<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> 2043</td> 2044</tr> 2045<tr class="rowColor"> 2046<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultBandwidthMeter.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultBandwidthMeter()</a></th> 2047<td class="colLast"> 2048<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> 2049</td> 2050</tr> 2051<tr class="altColor"> 2052<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultHttpDataSource()</a></th> 2053<td class="colLast"> 2054<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> 2055</td> 2056</tr> 2057<tr class="rowColor"> 2058<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/FileDataSource.FileDataSourceException.html#%3Cinit%3E(java.lang.Exception)">com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException​(Exception)</a></th> 2059<td class="colLast"> 2060<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> 2061</td> 2062</tr> 2063<tr class="altColor"> 2064<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​(DataSpec, @com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException.Type int)</a></th> 2065<td class="colLast"> 2066<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> 2067</td> 2068</tr> 2069<tr class="rowColor"> 2070<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/HttpDataSource.InvalidResponseCodeException.html#%3Cinit%3E(int,java.util.Map,com.google.android.exoplayer2.upstream.DataSpec)">com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException​(int, Map<String, List<String>>, DataSpec)</a></th> 2071<td class="colLast"> 2072<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, 2073 byte[])</code></a>.</div> 2074</td> 2075</tr> 2076<tr class="altColor"> 2077<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/RawResourceDataSource.RawResourceDataSourceException.html#%3Cinit%3E(java.lang.String)">com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException​(String)</a></th> 2078<td class="colLast"> 2079<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> 2080</td> 2081</tr> 2082</tbody> 2083</table> 2084</li> 2085</ul> 2086</div> 2087</main> 2088<footer role="contentinfo"> 2089<nav role="navigation"> 2090<!-- ======= START OF BOTTOM NAVBAR ====== --> 2091<div class="bottomNav"><a id="navbar.bottom"> 2092<!-- --> 2093</a> 2094<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 2095<a id="navbar.bottom.firstrow"> 2096<!-- --> 2097</a> 2098<ul class="navList" title="Navigation"> 2099<li><a href="index.html">Overview</a></li> 2100<li>Package</li> 2101<li>Class</li> 2102<li><a href="overview-tree.html">Tree</a></li> 2103<li class="navBarCell1Rev">Deprecated</li> 2104<li><a href="index-all.html">Index</a></li> 2105<li><a href="help-doc.html">Help</a></li> 2106</ul> 2107</div> 2108<div class="subNav"> 2109<ul class="navList" id="allclasses_navbar_bottom"> 2110<li><a href="allclasses.html">All Classes</a></li> 2111</ul> 2112<div> 2113<script type="text/javascript"><!-- 2114 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 2115 if(window==top) { 2116 allClassesLink.style.display = "block"; 2117 } 2118 else { 2119 allClassesLink.style.display = "none"; 2120 } 2121 //--> 2122</script> 2123<noscript> 2124<div>JavaScript is disabled on your browser.</div> 2125</noscript> 2126</div> 2127<a id="skip.navbar.bottom"> 2128<!-- --> 2129</a></div> 2130<!-- ======== END OF BOTTOM NAVBAR ======= --> 2131</nav> 2132</footer> 2133</body> 2134</html> 2135