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/Player.EventListener.html" title="interface in com.google.android.exoplayer2">com.google.android.exoplayer2.Player.EventListener</a></th> 147<td class="colLast"> 148<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.Listener.html" title="interface in com.google.android.exoplayer2"><code>Player.Listener</code></a>.</div> 149</td> 150</tr> 151</tbody> 152</table> 153</li> 154</ul> 155<a id="class"> 156<!-- --> 157</a> 158<ul class="blockList"> 159<li class="blockList"> 160<table class="deprecatedSummary"> 161<caption><span>Classes</span><span class="tabEnd"> </span></caption> 162<tr> 163<th class="colFirst" scope="col">Class</th> 164<th class="colLast" scope="col">Description</th> 165</tr> 166<tbody> 167<tr class="altColor"> 168<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> 169<td class="colLast"> 170<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> 171</td> 172</tr> 173<tr class="rowColor"> 174<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> 175<td class="colLast"> 176<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> 177</td> 178</tr> 179<tr class="altColor"> 180<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> 181<td class="colLast"> 182<div class="deprecationComment">Use <code>CronetEngine</code> directly. See the <a href="https://developer.android.com/guide/topics/connectivity/cronet/start">Android developer 183 guide</a> to learn how to instantiate a <code>CronetEngine</code> for use by your application. You 184 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 185 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> 186</td> 187</tr> 188<tr class="rowColor"> 189<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> 190<td class="colLast"> 191<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> 192</td> 193</tr> 194<tr class="altColor"> 195<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> 196<td class="colLast"> 197<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> 198</td> 199</tr> 200<tr class="rowColor"> 201<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> 202<td class="colLast"> 203<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> 204</td> 205</tr> 206<tr class="altColor"> 207<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> 208<td class="colLast"> 209<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> 210</td> 211</tr> 212<tr class="rowColor"> 213<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> 214<td class="colLast"> 215<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> 216</td> 217</tr> 218<tr class="altColor"> 219<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> 220<td class="colLast"> 221<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> 222</td> 223</tr> 224<tr class="rowColor"> 225<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> 226<td class="colLast"> 227<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> 228</td> 229</tr> 230<tr class="altColor"> 231<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> 232<td class="colLast"> 233<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> 234 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 235 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>. 236 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 237 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 238 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 239 times.</div> 240</td> 241</tr> 242<tr class="rowColor"> 243<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> 244<td class="colLast"> 245<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> 246</td> 247</tr> 248<tr class="altColor"> 249<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> 250<td class="colLast"> 251<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> 252</td> 253</tr> 254</tbody> 255</table> 256</li> 257</ul> 258<a id="annotation.type"> 259<!-- --> 260</a> 261<ul class="blockList"> 262<li class="blockList"> 263<table class="deprecatedSummary"> 264<caption><span>Annotation Types</span><span class="tabEnd"> </span></caption> 265<tr> 266<th class="colFirst" scope="col">Annotation Type</th> 267<th class="colLast" scope="col">Description</th> 268</tr> 269<tbody> 270<tr class="altColor"> 271<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> 272<td class="colLast"> 273<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> 274</td> 275</tr> 276</tbody> 277</table> 278</li> 279</ul> 280<a id="field"> 281<!-- --> 282</a> 283<ul class="blockList"> 284<li class="blockList"> 285<table class="deprecatedSummary"> 286<caption><span>Fields</span><span class="tabEnd"> </span></caption> 287<tr> 288<th class="colFirst" scope="col">Field</th> 289<th class="colLast" scope="col">Description</th> 290</tr> 291<tbody> 292<tr class="altColor"> 293<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ASCII_NAME">com.google.android.exoplayer2.C.ASCII_NAME</a></th> 294<td class="colLast"> 295<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div> 296</td> 297</tr> 298<tr class="rowColor"> 299<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#ISO88591_NAME">com.google.android.exoplayer2.C.ISO88591_NAME</a></th> 300<td class="colLast"> 301<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div> 302</td> 303</tr> 304<tr class="altColor"> 305<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16_NAME">com.google.android.exoplayer2.C.UTF16_NAME</a></th> 306<td class="colLast"> 307<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div> 308</td> 309</tr> 310<tr class="rowColor"> 311<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF16LE_NAME">com.google.android.exoplayer2.C.UTF16LE_NAME</a></th> 312<td class="colLast"> 313<div class="deprecationComment">Use <a href="https://developer.android.com/reference/java/nio/charset/StandardCharsets.html" title="class or interface in java.nio.charset" class="externalLink"><code>StandardCharsets</code></a> or <a href="https://guava.dev/releases/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div> 314</td> 315</tr> 316<tr class="altColor"> 317<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#UTF8_NAME">com.google.android.exoplayer2.C.UTF8_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/27.1-android/api/docs/com/google/common/base/Charsets.html?is-external=true" title="class or interface in com.google.common.base" class="externalLink" target="_top"><code>Charsets</code></a> instead.</div> 320</td> 321</tr> 322<tr class="rowColor"> 323<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DUMMY">com.google.android.exoplayer2.drm.DrmSessionManager.DUMMY</a></th> 324<td class="colLast"> 325<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div> 326</td> 327</tr> 328<tr class="altColor"> 329<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.html#clippingProperties">com.google.android.exoplayer2.MediaItem.clippingProperties</a></th> 330<td class="colLast"> 331<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#clippingConfiguration"><code>MediaItem.clippingConfiguration</code></a> instead.</div> 332</td> 333</tr> 334<tr class="rowColor"> 335<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#requestHeaders">com.google.android.exoplayer2.MediaItem.DrmConfiguration.requestHeaders</a></th> 336<td class="colLast"> 337<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#licenseRequestHeaders"><code>MediaItem.DrmConfiguration.licenseRequestHeaders</code></a> instead.</div> 338</td> 339</tr> 340<tr class="altColor"> 341<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#sessionForClearTypes">com.google.android.exoplayer2.MediaItem.DrmConfiguration.sessionForClearTypes</a></th> 342<td class="colLast"> 343<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#forcedSessionTrackTypes"><code>MediaItem.DrmConfiguration.forcedSessionTrackTypes</code></a>.</div> 344</td> 345</tr> 346<tr class="rowColor"> 347<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#uuid">com.google.android.exoplayer2.MediaItem.DrmConfiguration.uuid</a></th> 348<td class="colLast"> 349<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.html#scheme"><code>MediaItem.DrmConfiguration.scheme</code></a> instead.</div> 350</td> 351</tr> 352<tr class="altColor"> 353<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitles">com.google.android.exoplayer2.MediaItem.LocalConfiguration.subtitles</a></th> 354<td class="colLast"> 355<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#subtitleConfigurations"><code>MediaItem.LocalConfiguration.subtitleConfigurations</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.html#playbackProperties">com.google.android.exoplayer2.MediaItem.playbackProperties</a></th> 360<td class="colLast"> 361<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.html#localConfiguration"><code>MediaItem.localConfiguration</code></a> instead.</div> 362</td> 363</tr> 364<tr class="altColor"> 365<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/MediaMetadata.html#year">com.google.android.exoplayer2.MediaMetadata.year</a></th> 366<td class="colLast"> 367<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaMetadata.html#recordingYear"><code>MediaMetadata.recordingYear</code></a> instead.</div> 368</td> 369</tr> 370<tr class="rowColor"> 371<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> 372<td class="colLast"> 373<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> 374</td> 375</tr> 376<tr class="altColor"> 377<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> 378<td class="colLast"> 379<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> 380</td> 381</tr> 382<tr class="rowColor"> 383<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/offline/StreamKey.html#trackIndex">com.google.android.exoplayer2.offline.StreamKey.trackIndex</a></th> 384<td class="colLast"> 385<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/offline/StreamKey.html#streamIndex"><code>StreamKey.streamIndex</code></a>.</div> 386</td> 387</tr> 388<tr class="altColor"> 389<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> 390<td class="colLast"> 391<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> 392</td> 393</tr> 394<tr class="rowColor"> 395<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> 396<td class="colLast"> 397<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> 398</td> 399</tr> 400<tr class="altColor"> 401<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> 402<td class="colLast"> 403<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> 404</td> 405</tr> 406<tr class="rowColor"> 407<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> 408<td class="colLast"> 409<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> 410</td> 411</tr> 412<tr class="altColor"> 413<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.PositionInfo.html#windowIndex">com.google.android.exoplayer2.Player.PositionInfo.windowIndex</a></th> 414<td class="colLast"> 415<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.PositionInfo.html#mediaItemIndex"><code>Player.PositionInfo.mediaItemIndex</code></a> instead.</div> 416</td> 417</tr> 418<tr class="rowColor"> 419<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> 420<td class="colLast"> 421<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_EXCEEDS_CAPABILITIES"><code>C.FORMAT_EXCEEDS_CAPABILITIES</code></a> instead.</div> 422</td> 423</tr> 424<tr class="altColor"> 425<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/RendererCapabilities.html#FORMAT_HANDLED">com.google.android.exoplayer2.RendererCapabilities.FORMAT_HANDLED</a></th> 426<td class="colLast"> 427<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_HANDLED"><code>C.FORMAT_HANDLED</code></a> instead.</div> 428</td> 429</tr> 430<tr class="rowColor"> 431<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> 432<td class="colLast"> 433<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_DRM"><code>C.FORMAT_UNSUPPORTED_DRM</code></a> instead.</div> 434</td> 435</tr> 436<tr class="altColor"> 437<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> 438<td class="colLast"> 439<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_SUBTYPE"><code>C.FORMAT_UNSUPPORTED_SUBTYPE</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_UNSUPPORTED_TYPE">com.google.android.exoplayer2.RendererCapabilities.FORMAT_UNSUPPORTED_TYPE</a></th> 444<td class="colLast"> 445<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/C.html#FORMAT_UNSUPPORTED_TYPE"><code>C.FORMAT_UNSUPPORTED_TYPE</code></a> instead.</div> 446</td> 447</tr> 448<tr class="altColor"> 449<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> 450<td class="colLast"> 451<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> 452</td> 453</tr> 454<tr class="rowColor"> 455<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#isLive">com.google.android.exoplayer2.Timeline.Window.isLive</a></th> 456<td class="colLast"> 457<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#isLive()"><code>Timeline.Window.isLive()</code></a> instead.</div> 458</td> 459</tr> 460<tr class="altColor"> 461<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Timeline.Window.html#tag">com.google.android.exoplayer2.Timeline.Window.tag</a></th> 462<td class="colLast"> 463<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Timeline.Window.html#mediaItem"><code>Timeline.Window.mediaItem</code></a> instead.</div> 464</td> 465</tr> 466<tr class="rowColor"> 467<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> 468<td class="colLast"> 469<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> 470</td> 471</tr> 472<tr class="altColor"> 473<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#DEFAULT">com.google.android.exoplayer2.trackselection.TrackSelectionParameters.DEFAULT</a></th> 474<td class="colLast"> 475<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> 476</td> 477</tr> 478<tr class="rowColor"> 479<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> 480<td class="colLast"> 481<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> 482</td> 483</tr> 484<tr class="altColor"> 485<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#absoluteStreamPosition">com.google.android.exoplayer2.upstream.DataSpec.absoluteStreamPosition</a></th> 486<td class="colLast"> 487<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 488 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 489 position is required, use <code>uriPositionOffset + position</code>.</div> 490</td> 491</tr> 492<tr class="rowColor"> 493<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> 494<td class="colLast"> 495<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> 496</td> 497</tr> 498</tbody> 499</table> 500</li> 501</ul> 502<a id="method"> 503<!-- --> 504</a> 505<ul class="blockList"> 506<li class="blockList"> 507<table class="deprecatedSummary"> 508<caption><span>Methods</span><span class="tabEnd"> </span></caption> 509<tr> 510<th class="colFirst" scope="col">Method</th> 511<th class="colLast" scope="col">Description</th> 512</tr> 513<tbody> 514<tr class="altColor"> 515<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> 516<td class="colLast"> 517<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> 518</td> 519</tr> 520<tr class="rowColor"> 521<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> 522<td class="colLast"> 523<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> 524</td> 525</tr> 526<tr class="altColor"> 527<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> 528<td class="colLast"> 529<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> 530</td> 531</tr> 532<tr class="rowColor"> 533<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> 534<td class="colLast"> 535<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> 536</td> 537</tr> 538<tr class="altColor"> 539<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> 540<td class="colLast"> 541<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> 542 instead.</div> 543</td> 544</tr> 545<tr class="rowColor"> 546<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> 547<td class="colLast"> 548<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> 549 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> 550</td> 551</tr> 552<tr class="altColor"> 553<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> 554<td class="colLast"> 555<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/analytics/AnalyticsListener.html#onDrmSessionAcquired(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime,int)"><code>AnalyticsListener.onDrmSessionAcquired(EventTime, int)</code></a> instead.</div> 556</td> 557</tr> 558<tr class="rowColor"> 559<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> 560<td class="colLast"> 561<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> 562</td> 563</tr> 564<tr class="altColor"> 565<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> 566<td class="colLast"> 567<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> 568</td> 569</tr> 570<tr class="rowColor"> 571<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> 572<td class="colLast"> 573<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, 574 Player.PositionInfo, int)</code></a> instead.</div> 575</td> 576</tr> 577<tr class="altColor"> 578<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> 579<td class="colLast"> 580<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, 581 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> 582</td> 583</tr> 584<tr class="rowColor"> 585<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> 586<td class="colLast"> 587<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, 588 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> 589</td> 590</tr> 591<tr class="altColor"> 592<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> 593<td class="colLast"> 594<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> 595</td> 596</tr> 597<tr class="rowColor"> 598<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> 599<td class="colLast"> 600<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> 601</td> 602</tr> 603<tr class="altColor"> 604<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> 605<td class="colLast"> 606<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> 607</td> 608</tr> 609<tr class="rowColor"> 610<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> 611<td class="colLast"> 612<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> 613</td> 614</tr> 615<tr class="altColor"> 616<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> 617<td class="colLast"> 618<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> 619</td> 620</tr> 621<tr class="rowColor"> 622<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.BasePlayer.getCurrentWindowIndex()</a></th> 623<td class="colLast"></td> 624</tr> 625<tr class="altColor"> 626<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.BasePlayer.getNextWindowIndex()</a></th> 627<td class="colLast"></td> 628</tr> 629<tr class="rowColor"> 630<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.BasePlayer.getPreviousWindowIndex()</a></th> 631<td class="colLast"></td> 632</tr> 633<tr class="altColor"> 634<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNext()">com.google.android.exoplayer2.BasePlayer.hasNext()</a></th> 635<td class="colLast"></td> 636</tr> 637<tr class="rowColor"> 638<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasNextWindow()">com.google.android.exoplayer2.BasePlayer.hasNextWindow()</a></th> 639<td class="colLast"></td> 640</tr> 641<tr class="altColor"> 642<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPrevious()">com.google.android.exoplayer2.BasePlayer.hasPrevious()</a></th> 643<td class="colLast"></td> 644</tr> 645<tr class="rowColor"> 646<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.BasePlayer.hasPreviousWindow()</a></th> 647<td class="colLast"></td> 648</tr> 649<tr class="altColor"> 650<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowDynamic()</a></th> 651<td class="colLast"></td> 652</tr> 653<tr class="rowColor"> 654<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowLive()</a></th> 655<td class="colLast"></td> 656</tr> 657<tr class="altColor"> 658<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.BasePlayer.isCurrentWindowSeekable()</a></th> 659<td class="colLast"></td> 660</tr> 661<tr class="rowColor"> 662<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#next()">com.google.android.exoplayer2.BasePlayer.next()</a></th> 663<td class="colLast"></td> 664</tr> 665<tr class="altColor"> 666<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#previous()">com.google.android.exoplayer2.BasePlayer.previous()</a></th> 667<td class="colLast"></td> 668</tr> 669<tr class="rowColor"> 670<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToNextWindow()">com.google.android.exoplayer2.BasePlayer.seekToNextWindow()</a></th> 671<td class="colLast"></td> 672</tr> 673<tr class="altColor"> 674<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/BasePlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.BasePlayer.seekToPreviousWindow()</a></th> 675<td class="colLast"></td> 676</tr> 677<tr class="rowColor"> 678<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> 679<td class="colLast"> 680<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#generateAudioSessionIdV21(android.content.Context)"><code>Util.generateAudioSessionIdV21(Context)</code></a>.</div> 681</td> 682</tr> 683<tr class="altColor"> 684<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#getErrorCodeForMediaDrmErrorCode(int)">com.google.android.exoplayer2.C.getErrorCodeForMediaDrmErrorCode​(int)</a></th> 685<td class="colLast"> 686<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getErrorCodeForMediaDrmErrorCode(int)"><code>Util.getErrorCodeForMediaDrmErrorCode(int)</code></a>.</div> 687</td> 688</tr> 689<tr class="rowColor"> 690<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#getFormatSupportString(int)">com.google.android.exoplayer2.C.getFormatSupportString​(int)</a></th> 691<td class="colLast"> 692<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#getFormatSupportString(int)"><code>Util.getFormatSupportString(int)</code></a>.</div> 693</td> 694</tr> 695<tr class="altColor"> 696<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#msToUs(long)">com.google.android.exoplayer2.C.msToUs​(long)</a></th> 697<td class="colLast"> 698<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#msToUs(long)"><code>Util.msToUs(long)</code></a>.</div> 699</td> 700</tr> 701<tr class="rowColor"> 702<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/C.html#usToMs(long)">com.google.android.exoplayer2.C.usToMs​(long)</a></th> 703<td class="colLast"> 704<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/util/Util.html#usToMs(long)"><code>Util.usToMs(long)</code></a>.</div> 705</td> 706</tr> 707<tr class="altColor"> 708<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#createDefaultLoadControl()">com.google.android.exoplayer2.DefaultLoadControl.Builder.createDefaultLoadControl()</a></th> 709<td class="colLast"> 710<div class="deprecationComment">use <a href="com/google/android/exoplayer2/DefaultLoadControl.Builder.html#build()"><code>DefaultLoadControl.Builder.build()</code></a> instead.</div> 711</td> 712</tr> 713<tr class="rowColor"> 714<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> 715<td class="colLast"> 716<div class="deprecationComment">Implement <a href="com/google/android/exoplayer2/drm/DrmSessionEventListener.html#onDrmSessionAcquired(int,com.google.android.exoplayer2.source.MediaSource.MediaPeriodId,int)"><code>DrmSessionEventListener.onDrmSessionAcquired(int, MediaPeriodId, int)</code></a> instead.</div> 717</td> 718</tr> 719<tr class="altColor"> 720<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#getDummyDrmSessionManager()">com.google.android.exoplayer2.drm.DrmSessionManager.getDummyDrmSessionManager()</a></th> 721<td class="colLast"> 722<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html#DRM_UNSUPPORTED"><code>DrmSessionManager.DRM_UNSUPPORTED</code></a>.</div> 723</td> 724</tr> 725<tr class="rowColor"> 726<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> 727<td class="colLast"> 728<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> 729</td> 730</tr> 731<tr class="altColor"> 732<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ExoPlayer.addListener​(Player.EventListener)</a></th> 733<td class="colLast"> 734<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/Player.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.removeListener(Listener)</code></a> instead.</div> 735</td> 736</tr> 737<tr class="rowColor"> 738<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#clearAuxEffectInfo()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.clearAuxEffectInfo()</a></th> 739<td class="colLast"> 740<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#clearAuxEffectInfo()"><code>ExoPlayer.clearAuxEffectInfo()</code></a> instead.</div> 741</td> 742</tr> 743<tr class="altColor"> 744<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioAttributes()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioAttributes()</a></th> 745<td class="colLast"> 746<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getAudioAttributes()"><code>Player.getAudioAttributes()</code></a> instead.</div> 747</td> 748</tr> 749<tr class="rowColor"> 750<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getAudioSessionId()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getAudioSessionId()</a></th> 751<td class="colLast"> 752<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioSessionId()"><code>ExoPlayer.getAudioSessionId()</code></a> instead.</div> 753</td> 754</tr> 755<tr class="altColor"> 756<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getSkipSilenceEnabled()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getSkipSilenceEnabled()</a></th> 757<td class="colLast"> 758<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getSkipSilenceEnabled()"><code>ExoPlayer.getSkipSilenceEnabled()</code></a> instead.</div> 759</td> 760</tr> 761<tr class="rowColor"> 762<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.AudioComponent.html#getVolume()">com.google.android.exoplayer2.ExoPlayer.AudioComponent.getVolume()</a></th> 763<td class="colLast"> 764<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVolume()"><code>Player.getVolume()</code></a> instead.</div> 765</td> 766</tr> 767<tr class="altColor"> 768<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> 769<td class="colLast"> 770<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> 771</td> 772</tr> 773<tr class="rowColor"> 774<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> 775<td class="colLast"> 776<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setAudioSessionId(int)"><code>ExoPlayer.setAudioSessionId(int)</code></a> instead.</div> 777</td> 778</tr> 779<tr class="altColor"> 780<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> 781<td class="colLast"> 782<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> 783</td> 784</tr> 785<tr class="rowColor"> 786<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> 787<td class="colLast"> 788<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.setSkipSilenceEnabled(boolean)</code></a> instead.</div> 789</td> 790</tr> 791<tr class="altColor"> 792<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> 793<td class="colLast"> 794<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVolume(float)"><code>Player.setVolume(float)</code></a> instead.</div> 795</td> 796</tr> 797<tr class="rowColor"> 798<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#decreaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.decreaseDeviceVolume()</a></th> 799<td class="colLast"> 800<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#decreaseDeviceVolume()"><code>Player.decreaseDeviceVolume()</code></a> instead.</div> 801</td> 802</tr> 803<tr class="altColor"> 804<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceInfo()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceInfo()</a></th> 805<td class="colLast"> 806<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceInfo()"><code>Player.getDeviceInfo()</code></a> instead.</div> 807</td> 808</tr> 809<tr class="rowColor"> 810<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#getDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.getDeviceVolume()</a></th> 811<td class="colLast"> 812<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getDeviceVolume()"><code>Player.getDeviceVolume()</code></a> instead.</div> 813</td> 814</tr> 815<tr class="altColor"> 816<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#increaseDeviceVolume()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.increaseDeviceVolume()</a></th> 817<td class="colLast"> 818<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#increaseDeviceVolume()"><code>Player.increaseDeviceVolume()</code></a> instead.</div> 819</td> 820</tr> 821<tr class="rowColor"> 822<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html#isDeviceMuted()">com.google.android.exoplayer2.ExoPlayer.DeviceComponent.isDeviceMuted()</a></th> 823<td class="colLast"> 824<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isDeviceMuted()"><code>Player.isDeviceMuted()</code></a> instead.</div> 825</td> 826</tr> 827<tr class="altColor"> 828<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> 829<td class="colLast"> 830<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceMuted(boolean)"><code>Player.setDeviceMuted(boolean)</code></a> instead.</div> 831</td> 832</tr> 833<tr class="rowColor"> 834<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> 835<td class="colLast"> 836<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setDeviceVolume(int)"><code>Player.setDeviceVolume(int)</code></a> instead.</div> 837</td> 838</tr> 839<tr class="altColor"> 840<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.ExoPlayer.getAudioComponent()</a></th> 841<td class="colLast"> 842<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 843 interface.</div> 844</td> 845</tr> 846<tr class="rowColor"> 847<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.ExoPlayer.getDeviceComponent()</a></th> 848<td class="colLast"> 849<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 850 interface.</div> 851</td> 852</tr> 853<tr class="altColor"> 854<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.ExoPlayer.getTextComponent()</a></th> 855<td class="colLast"> 856<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 857 interface.</div> 858</td> 859</tr> 860<tr class="rowColor"> 861<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.ExoPlayer.getVideoComponent()</a></th> 862<td class="colLast"> 863<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 864 interface.</div> 865</td> 866</tr> 867<tr class="altColor"> 868<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> 869<td class="colLast"> 870<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> 871</td> 872</tr> 873<tr class="rowColor"> 874<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ExoPlayer.removeListener​(Player.EventListener)</a></th> 875<td class="colLast"> 876<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/Player.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>Player.removeListener(Listener)</code></a> instead.</div> 877</td> 878</tr> 879<tr class="altColor"> 880<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#retry()">com.google.android.exoplayer2.ExoPlayer.retry()</a></th> 881<td class="colLast"> 882<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>Player.prepare()</code></a> instead.</div> 883</td> 884</tr> 885<tr class="rowColor"> 886<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.ExoPlayer.setHandleWakeLock​(boolean)</a></th> 887<td class="colLast"> 888<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> 889</td> 890</tr> 891<tr class="altColor"> 892<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.ExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th> 893<td class="colLast"> 894<div class="deprecationComment">Disabling the enforcement can result in hard-to-detect bugs. Do not use this method 895 except to ease the transition while wrong thread access problems are fixed.</div> 896</td> 897</tr> 898<tr class="rowColor"> 899<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.TextComponent.html#getCurrentCues()">com.google.android.exoplayer2.ExoPlayer.TextComponent.getCurrentCues()</a></th> 900<td class="colLast"> 901<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentCues()"><code>Player.getCurrentCues()</code></a> instead.</div> 902</td> 903</tr> 904<tr class="altColor"> 905<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> 906<td class="colLast"> 907<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> 908</td> 909</tr> 910<tr class="rowColor"> 911<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> 912<td class="colLast"> 913<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> 914 instead.</div> 915</td> 916</tr> 917<tr class="altColor"> 918<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#clearVideoSurface()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.clearVideoSurface()</a></th> 919<td class="colLast"> 920<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurface()"><code>Player.clearVideoSurface()</code></a> instead.</div> 921</td> 922</tr> 923<tr class="rowColor"> 924<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> 925<td class="colLast"> 926<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.clearVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div> 927</td> 928</tr> 929<tr class="altColor"> 930<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> 931<td class="colLast"> 932<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoSurfaceView(android.view.SurfaceView)"><code>Player.clearVideoSurfaceView(SurfaceView)</code></a> instead.</div> 933</td> 934</tr> 935<tr class="rowColor"> 936<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> 937<td class="colLast"> 938<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#clearVideoTextureView(android.view.TextureView)"><code>Player.clearVideoTextureView(TextureView)</code></a> instead.</div> 939</td> 940</tr> 941<tr class="altColor"> 942<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoChangeFrameRateStrategy()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoChangeFrameRateStrategy()</a></th> 943<td class="colLast"> 944<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoChangeFrameRateStrategy()"><code>ExoPlayer.getVideoChangeFrameRateStrategy()</code></a> instead.</div> 945</td> 946</tr> 947<tr class="rowColor"> 948<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoScalingMode()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoScalingMode()</a></th> 949<td class="colLast"> 950<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#getVideoScalingMode()"><code>ExoPlayer.getVideoScalingMode()</code></a> instead.</div> 951</td> 952</tr> 953<tr class="altColor"> 954<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#getVideoSize()">com.google.android.exoplayer2.ExoPlayer.VideoComponent.getVideoSize()</a></th> 955<td class="colLast"> 956<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getVideoSize()"><code>Player.getVideoSize()</code></a> instead.</div> 957</td> 958</tr> 959<tr class="rowColor"> 960<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> 961<td class="colLast"> 962<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> 963</td> 964</tr> 965<tr class="altColor"> 966<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoChangeFrameRateStrategy(int)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoChangeFrameRateStrategy​(int)</a></th> 967<td class="colLast"> 968<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoChangeFrameRateStrategy(int)"><code>ExoPlayer.setVideoChangeFrameRateStrategy(int)</code></a> instead.</div> 969</td> 970</tr> 971<tr class="rowColor"> 972<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> 973<td class="colLast"> 974<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> 975 instead.</div> 976</td> 977</tr> 978<tr class="altColor"> 979<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ExoPlayer.VideoComponent.html#setVideoScalingMode(int)">com.google.android.exoplayer2.ExoPlayer.VideoComponent.setVideoScalingMode​(int)</a></th> 980<td class="colLast"> 981<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.html#setVideoScalingMode(int)"><code>ExoPlayer.setVideoScalingMode(int)</code></a> instead.</div> 982</td> 983</tr> 984<tr class="rowColor"> 985<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> 986<td class="colLast"> 987<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurface(android.view.Surface)"><code>Player.setVideoSurface(Surface)</code></a> instead.</div> 988</td> 989</tr> 990<tr class="altColor"> 991<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> 992<td class="colLast"> 993<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceHolder(android.view.SurfaceHolder)"><code>Player.setVideoSurfaceHolder(SurfaceHolder)</code></a> instead.</div> 994</td> 995</tr> 996<tr class="rowColor"> 997<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> 998<td class="colLast"> 999<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoSurfaceView(android.view.SurfaceView)"><code>Player.setVideoSurfaceView(SurfaceView)</code></a> instead.</div> 1000</td> 1001</tr> 1002<tr class="altColor"> 1003<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> 1004<td class="colLast"> 1005<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#setVideoTextureView(android.view.TextureView)"><code>Player.setVideoTextureView(TextureView)</code></a> instead.</div> 1006</td> 1007</tr> 1008<tr class="rowColor"> 1009<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ext.cast.CastPlayer.addListener​(Player.EventListener)</a></th> 1010<td class="colLast"> 1011<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.removeListener(Listener)</code></a> instead.</div> 1012</td> 1013</tr> 1014<tr class="altColor"> 1015<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.ext.cast.CastPlayer.removeListener​(Player.EventListener)</a></th> 1016<td class="colLast"> 1017<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.addListener(Listener)</code></a> and <a href="com/google/android/exoplayer2/ext/cast/CastPlayer.html#removeListener(com.google.android.exoplayer2.Player.Listener)"><code>CastPlayer.removeListener(Listener)</code></a> instead.</div> 1018</td> 1019</tr> 1020<tr class="rowColor"> 1021<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> 1022<td class="colLast"></td> 1023</tr> 1024<tr class="altColor"> 1025<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> 1026<td class="colLast"> 1027<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 1028 <code>CronetEngine</code> is not available. Use the fallback factory directly in such cases.</div> 1029</td> 1030</tr> 1031<tr class="rowColor"> 1032<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> 1033<td class="colLast"></td> 1034</tr> 1035<tr class="altColor"> 1036<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> 1037<td class="colLast"> 1038<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> 1039</td> 1040</tr> 1041<tr class="rowColor"> 1042<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithBitrate(int)">com.google.android.exoplayer2.Format.copyWithBitrate​(int)</a></th> 1043<td class="colLast"> 1044<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> 1045</td> 1046</tr> 1047<tr class="altColor"> 1048<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> 1049<td class="colLast"> 1050<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> 1051</td> 1052</tr> 1053<tr class="rowColor"> 1054<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithFrameRate(float)">com.google.android.exoplayer2.Format.copyWithFrameRate​(float)</a></th> 1055<td class="colLast"> 1056<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> 1057</td> 1058</tr> 1059<tr class="altColor"> 1060<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> 1061<td class="colLast"> 1062<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> 1063</td> 1064</tr> 1065<tr class="rowColor"> 1066<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> 1067<td class="colLast"> 1068<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> 1069</td> 1070</tr> 1071<tr class="altColor"> 1072<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> 1073<td class="colLast"> 1074<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> 1075</td> 1076</tr> 1077<tr class="rowColor"> 1078<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithMaxInputSize(int)">com.google.android.exoplayer2.Format.copyWithMaxInputSize​(int)</a></th> 1079<td class="colLast"> 1080<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> 1081</td> 1082</tr> 1083<tr class="altColor"> 1084<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> 1085<td class="colLast"> 1086<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> 1087</td> 1088</tr> 1089<tr class="rowColor"> 1090<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Format.html#copyWithSubsampleOffsetUs(long)">com.google.android.exoplayer2.Format.copyWithSubsampleOffsetUs​(long)</a></th> 1091<td class="colLast"> 1092<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> 1093</td> 1094</tr> 1095<tr class="altColor"> 1096<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> 1097<td class="colLast"> 1098<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> 1099</td> 1100</tr> 1101<tr class="rowColor"> 1102<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> 1103<td class="colLast"> 1104<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> 1105</td> 1106</tr> 1107<tr class="altColor"> 1108<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> 1109<td class="colLast"> 1110<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> 1111</td> 1112</tr> 1113<tr class="rowColor"> 1114<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> 1115<td class="colLast"> 1116<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> 1117</td> 1118</tr> 1119<tr class="altColor"> 1120<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> 1121<td class="colLast"> 1122<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> 1123</td> 1124</tr> 1125<tr class="rowColor"> 1126<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#addListener(com.google.android.exoplayer2.Player.Listener)">com.google.android.exoplayer2.ForwardingPlayer.addListener​(Player.Listener)</a></th> 1127<td class="colLast"></td> 1128</tr> 1129<tr class="altColor"> 1130<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getApplicationLooper()">com.google.android.exoplayer2.ForwardingPlayer.getApplicationLooper()</a></th> 1131<td class="colLast"></td> 1132</tr> 1133<tr class="rowColor"> 1134<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getCurrentWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getCurrentWindowIndex()</a></th> 1135<td class="colLast"></td> 1136</tr> 1137<tr class="altColor"> 1138<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getNextWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getNextWindowIndex()</a></th> 1139<td class="colLast"></td> 1140</tr> 1141<tr class="rowColor"> 1142<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#getPreviousWindowIndex()">com.google.android.exoplayer2.ForwardingPlayer.getPreviousWindowIndex()</a></th> 1143<td class="colLast"></td> 1144</tr> 1145<tr class="altColor"> 1146<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNext()">com.google.android.exoplayer2.ForwardingPlayer.hasNext()</a></th> 1147<td class="colLast"></td> 1148</tr> 1149<tr class="rowColor"> 1150<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasNextWindow()</a></th> 1151<td class="colLast"></td> 1152</tr> 1153<tr class="altColor"> 1154<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPrevious()">com.google.android.exoplayer2.ForwardingPlayer.hasPrevious()</a></th> 1155<td class="colLast"></td> 1156</tr> 1157<tr class="rowColor"> 1158<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#hasPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.hasPreviousWindow()</a></th> 1159<td class="colLast"></td> 1160</tr> 1161<tr class="altColor"> 1162<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowDynamic()</a></th> 1163<td class="colLast"></td> 1164</tr> 1165<tr class="rowColor"> 1166<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowLive()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowLive()</a></th> 1167<td class="colLast"></td> 1168</tr> 1169<tr class="altColor"> 1170<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.ForwardingPlayer.isCurrentWindowSeekable()</a></th> 1171<td class="colLast"></td> 1172</tr> 1173<tr class="rowColor"> 1174<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#next()">com.google.android.exoplayer2.ForwardingPlayer.next()</a></th> 1175<td class="colLast"></td> 1176</tr> 1177<tr class="altColor"> 1178<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#previous()">com.google.android.exoplayer2.ForwardingPlayer.previous()</a></th> 1179<td class="colLast"></td> 1180</tr> 1181<tr class="rowColor"> 1182<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToNextWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToNextWindow()</a></th> 1183<td class="colLast"></td> 1184</tr> 1185<tr class="altColor"> 1186<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#seekToPreviousWindow()">com.google.android.exoplayer2.ForwardingPlayer.seekToPreviousWindow()</a></th> 1187<td class="colLast"></td> 1188</tr> 1189<tr class="rowColor"> 1190<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ForwardingPlayer.html#stop(boolean)">com.google.android.exoplayer2.ForwardingPlayer.stop​(boolean)</a></th> 1191<td class="colLast"></td> 1192</tr> 1193<tr class="altColor"> 1194<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> 1195<td class="colLast"> 1196<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> 1197</td> 1198</tr> 1199<tr class="rowColor"> 1200<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> 1201<td class="colLast"> 1202<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> 1203 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> 1204</td> 1205</tr> 1206<tr class="altColor"> 1207<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> 1208<td class="colLast"> 1209<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> 1210</td> 1211</tr> 1212<tr class="rowColor"> 1213<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> 1214<td class="colLast"> 1215<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> 1216</td> 1217</tr> 1218<tr class="altColor"> 1219<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> 1220<td class="colLast"> 1221<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> 1222</td> 1223</tr> 1224<tr class="rowColor"> 1225<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> 1226<td class="colLast"> 1227<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> 1228</td> 1229</tr> 1230<tr class="altColor"> 1231<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> 1232<td class="colLast"> 1233<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> 1234</td> 1235</tr> 1236<tr class="rowColor"> 1237<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> 1238<td class="colLast"> 1239<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> 1240</td> 1241</tr> 1242<tr class="altColor"> 1243<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> 1244<td class="colLast"> 1245<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> 1246</td> 1247</tr> 1248<tr class="rowColor"> 1249<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> 1250<td class="colLast"> 1251<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 1252 map to clear the headers.</div> 1253</td> 1254</tr> 1255<tr class="altColor"> 1256<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> 1257<td class="colLast"> 1258<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> 1259</td> 1260</tr> 1261<tr class="rowColor"> 1262<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> 1263<td class="colLast"> 1264<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> 1265</td> 1266</tr> 1267<tr class="altColor"> 1268<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> 1269<td class="colLast"> 1270<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> 1271</td> 1272</tr> 1273<tr class="rowColor"> 1274<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> 1275<td class="colLast"> 1276<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> 1277</td> 1278</tr> 1279<tr class="altColor"> 1280<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> 1281<td class="colLast"> 1282<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 1283 empty list to clear the contents.</div> 1284</td> 1285</tr> 1286<tr class="rowColor"> 1287<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> 1288<td class="colLast"> 1289<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 1290 <a href="com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html#%3Cinit%3E(java.util.UUID)"><code>Builder(UUID)</code></a> instead.</div> 1291</td> 1292</tr> 1293<tr class="altColor"> 1294<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> 1295<td class="colLast"> 1296<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> 1297</td> 1298</tr> 1299<tr class="rowColor"> 1300<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> 1301<td class="colLast"> 1302<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> 1303</td> 1304</tr> 1305<tr class="altColor"> 1306<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> 1307<td class="colLast"> 1308<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> 1309</td> 1310</tr> 1311<tr class="rowColor"> 1312<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> 1313<td class="colLast"> 1314<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> 1315</td> 1316</tr> 1317<tr class="altColor"> 1318<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> 1319<td class="colLast"> 1320<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> 1321</td> 1322</tr> 1323<tr class="rowColor"> 1324<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> 1325<td class="colLast"> 1326<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 1327 contents.</div> 1328</td> 1329</tr> 1330<tr class="altColor"> 1331<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> 1332<td class="colLast"> 1333<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.ClippingConfiguration.Builder.html#build()"><code>MediaItem.ClippingConfiguration.Builder.build()</code></a> instead.</div> 1334</td> 1335</tr> 1336<tr class="rowColor"> 1337<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> 1338<td class="colLast"> 1339<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> 1340</td> 1341</tr> 1342<tr class="altColor"> 1343<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> 1344<td class="colLast"> 1345<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> 1346</td> 1347</tr> 1348<tr class="rowColor"> 1349<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> 1350<td class="colLast"> 1351<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, 1352 DataSource.Factory)</code></a> instead.</div> 1353</td> 1354</tr> 1355<tr class="altColor"> 1356<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> 1357<td class="colLast"> 1358<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, 1359 DataSource.Factory)</code></a> instead.</div> 1360</td> 1361</tr> 1362<tr class="rowColor"> 1363<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> 1364<td class="colLast"> 1365<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> 1366</td> 1367</tr> 1368<tr class="altColor"> 1369<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> 1370<td class="colLast"> 1371<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, 1372 DataSource.Factory)</code></a> instead.</div> 1373</td> 1374</tr> 1375<tr class="rowColor"> 1376<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onLoadingChanged(boolean)">com.google.android.exoplayer2.Player.EventListener.onLoadingChanged​(boolean)</a></th> 1377<td class="colLast"> 1378<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onIsLoadingChanged(boolean)"><code>Player.EventListener.onIsLoadingChanged(boolean)</code></a> instead.</div> 1379</td> 1380</tr> 1381<tr class="altColor"> 1382<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onPlayerStateChanged(boolean,@com.google.android.exoplayer2.Player.Stateint)">com.google.android.exoplayer2.Player.EventListener.onPlayerStateChanged​(boolean, @com.google.android.exoplayer2.Player.State int)</a></th> 1383<td class="colLast"> 1384<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onPlaybackStateChanged(@com.google.android.exoplayer2.Player.Stateint)"><code>Player.EventListener.onPlaybackStateChanged(int)</code></a> and <a href="com/google/android/exoplayer2/Player.EventListener.html#onPlayWhenReadyChanged(boolean,@com.google.android.exoplayer2.Player.PlayWhenReadyChangeReasonint)"><code>Player.EventListener.onPlayWhenReadyChanged(boolean, int)</code></a> instead.</div> 1385</td> 1386</tr> 1387<tr class="rowColor"> 1388<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(@com.google.android.exoplayer2.Player.DiscontinuityReasonint)">com.google.android.exoplayer2.Player.EventListener.onPositionDiscontinuity​(@com.google.android.exoplayer2.Player.DiscontinuityReason int)</a></th> 1389<td class="colLast"> 1390<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.EventListener.onPositionDiscontinuity(PositionInfo, PositionInfo, int)</code></a> instead.</div> 1391</td> 1392</tr> 1393<tr class="altColor"> 1394<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onSeekProcessed()">com.google.android.exoplayer2.Player.EventListener.onSeekProcessed()</a></th> 1395<td class="colLast"> 1396<div class="deprecationComment">Seeks are processed without delay. Listen to <a href="com/google/android/exoplayer2/Player.EventListener.html#onPositionDiscontinuity(com.google.android.exoplayer2.Player.PositionInfo,com.google.android.exoplayer2.Player.PositionInfo,@com.google.android.exoplayer2.Player.DiscontinuityReasonint)"><code>Player.EventListener.onPositionDiscontinuity(PositionInfo, PositionInfo, int)</code></a> with reason <a href="com/google/android/exoplayer2/Player.html#DISCONTINUITY_REASON_SEEK"><code>Player.DISCONTINUITY_REASON_SEEK</code></a> instead.</div> 1397</td> 1398</tr> 1399<tr class="rowColor"> 1400<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.EventListener.html#onTracksChanged(com.google.android.exoplayer2.source.TrackGroupArray,com.google.android.exoplayer2.trackselection.TrackSelectionArray)">com.google.android.exoplayer2.Player.EventListener.onTracksChanged​(TrackGroupArray, TrackSelectionArray)</a></th> 1401<td class="colLast"> 1402<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.EventListener.html#onTracksInfoChanged(com.google.android.exoplayer2.TracksInfo)"><code>Player.EventListener.onTracksInfoChanged(TracksInfo)</code></a> instead.</div> 1403</td> 1404</tr> 1405<tr class="altColor"> 1406<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackGroups()">com.google.android.exoplayer2.Player.getCurrentTrackGroups()</a></th> 1407<td class="colLast"> 1408<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div> 1409</td> 1410</tr> 1411<tr class="rowColor"> 1412<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentTrackSelections()">com.google.android.exoplayer2.Player.getCurrentTrackSelections()</a></th> 1413<td class="colLast"> 1414<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentTracksInfo()"><code>Player.getCurrentTracksInfo()</code></a>.</div> 1415</td> 1416</tr> 1417<tr class="altColor"> 1418<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getCurrentWindowIndex()">com.google.android.exoplayer2.Player.getCurrentWindowIndex()</a></th> 1419<td class="colLast"> 1420<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getCurrentMediaItemIndex()"><code>Player.getCurrentMediaItemIndex()</code></a> instead.</div> 1421</td> 1422</tr> 1423<tr class="rowColor"> 1424<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getNextWindowIndex()">com.google.android.exoplayer2.Player.getNextWindowIndex()</a></th> 1425<td class="colLast"> 1426<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getNextMediaItemIndex()"><code>Player.getNextMediaItemIndex()</code></a> instead.</div> 1427</td> 1428</tr> 1429<tr class="altColor"> 1430<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#getPreviousWindowIndex()">com.google.android.exoplayer2.Player.getPreviousWindowIndex()</a></th> 1431<td class="colLast"> 1432<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#getPreviousMediaItemIndex()"><code>Player.getPreviousMediaItemIndex()</code></a> instead.</div> 1433</td> 1434</tr> 1435<tr class="rowColor"> 1436<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNext()">com.google.android.exoplayer2.Player.hasNext()</a></th> 1437<td class="colLast"> 1438<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div> 1439</td> 1440</tr> 1441<tr class="altColor"> 1442<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasNextWindow()">com.google.android.exoplayer2.Player.hasNextWindow()</a></th> 1443<td class="colLast"> 1444<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasNextMediaItem()"><code>Player.hasNextMediaItem()</code></a> instead.</div> 1445</td> 1446</tr> 1447<tr class="rowColor"> 1448<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPrevious()">com.google.android.exoplayer2.Player.hasPrevious()</a></th> 1449<td class="colLast"> 1450<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div> 1451</td> 1452</tr> 1453<tr class="altColor"> 1454<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#hasPreviousWindow()">com.google.android.exoplayer2.Player.hasPreviousWindow()</a></th> 1455<td class="colLast"> 1456<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#hasPreviousMediaItem()"><code>Player.hasPreviousMediaItem()</code></a> instead.</div> 1457</td> 1458</tr> 1459<tr class="rowColor"> 1460<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowDynamic()">com.google.android.exoplayer2.Player.isCurrentWindowDynamic()</a></th> 1461<td class="colLast"> 1462<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemDynamic()"><code>Player.isCurrentMediaItemDynamic()</code></a> instead.</div> 1463</td> 1464</tr> 1465<tr class="altColor"> 1466<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowLive()">com.google.android.exoplayer2.Player.isCurrentWindowLive()</a></th> 1467<td class="colLast"> 1468<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemLive()"><code>Player.isCurrentMediaItemLive()</code></a> instead.</div> 1469</td> 1470</tr> 1471<tr class="rowColor"> 1472<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#isCurrentWindowSeekable()">com.google.android.exoplayer2.Player.isCurrentWindowSeekable()</a></th> 1473<td class="colLast"> 1474<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#isCurrentMediaItemSeekable()"><code>Player.isCurrentMediaItemSeekable()</code></a> instead.</div> 1475</td> 1476</tr> 1477<tr class="altColor"> 1478<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#next()">com.google.android.exoplayer2.Player.next()</a></th> 1479<td class="colLast"> 1480<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div> 1481</td> 1482</tr> 1483<tr class="rowColor"> 1484<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#previous()">com.google.android.exoplayer2.Player.previous()</a></th> 1485<td class="colLast"> 1486<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div> 1487</td> 1488</tr> 1489<tr class="altColor"> 1490<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToNextWindow()">com.google.android.exoplayer2.Player.seekToNextWindow()</a></th> 1491<td class="colLast"> 1492<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToNextMediaItem()"><code>Player.seekToNextMediaItem()</code></a> instead.</div> 1493</td> 1494</tr> 1495<tr class="rowColor"> 1496<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#seekToPreviousWindow()">com.google.android.exoplayer2.Player.seekToPreviousWindow()</a></th> 1497<td class="colLast"> 1498<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/Player.html#seekToPreviousMediaItem()"><code>Player.seekToPreviousMediaItem()</code></a> instead.</div> 1499</td> 1500</tr> 1501<tr class="altColor"> 1502<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/Player.html#stop(boolean)">com.google.android.exoplayer2.Player.stop​(boolean)</a></th> 1503<td class="colLast"> 1504<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 1505 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 1506 <a href="com/google/android/exoplayer2/Player.html#prepare()"><code>re-preparing</code></a> the player.</div> 1507</td> 1508</tr> 1509<tr class="rowColor"> 1510<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> 1511<td class="colLast"> 1512<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/PlayerMessage.html#setLooper(android.os.Looper)"><code>PlayerMessage.setLooper(Looper)</code></a> instead.</div> 1513</td> 1514</tr> 1515<tr class="altColor"> 1516<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#addListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.SimpleExoPlayer.addListener​(Player.EventListener)</a></th> 1517<td class="colLast"></td> 1518</tr> 1519<tr class="rowColor"> 1520<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#build()">com.google.android.exoplayer2.SimpleExoPlayer.Builder.build()</a></th> 1521<td class="colLast"> 1522<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#build()"><code>ExoPlayer.Builder.build()</code></a> instead.</div> 1523</td> 1524</tr> 1525<tr class="altColor"> 1526<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> 1527<td class="colLast"> 1528<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#experimentalSetForegroundModeTimeoutMs(long)"><code>ExoPlayer.Builder.experimentalSetForegroundModeTimeoutMs(long)</code></a> 1529 instead.</div> 1530</td> 1531</tr> 1532<tr class="rowColor"> 1533<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> 1534<td class="colLast"> 1535<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> 1536</td> 1537</tr> 1538<tr class="altColor"> 1539<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> 1540<td class="colLast"> 1541<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> 1542 instead.</div> 1543</td> 1544</tr> 1545<tr class="rowColor"> 1546<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> 1547<td class="colLast"> 1548<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> 1549</td> 1550</tr> 1551<tr class="altColor"> 1552<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> 1553<td class="colLast"> 1554<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> 1555</td> 1556</tr> 1557<tr class="rowColor"> 1558<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> 1559<td class="colLast"> 1560<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setDetachSurfaceTimeoutMs(long)"><code>ExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)</code></a> instead.</div> 1561</td> 1562</tr> 1563<tr class="altColor"> 1564<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> 1565<td class="colLast"> 1566<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setHandleAudioBecomingNoisy(boolean)"><code>ExoPlayer.Builder.setHandleAudioBecomingNoisy(boolean)</code></a> instead.</div> 1567</td> 1568</tr> 1569<tr class="rowColor"> 1570<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> 1571<td class="colLast"> 1572<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> 1573</td> 1574</tr> 1575<tr class="altColor"> 1576<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> 1577<td class="colLast"> 1578<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> 1579</td> 1580</tr> 1581<tr class="rowColor"> 1582<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> 1583<td class="colLast"> 1584<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> 1585</td> 1586</tr> 1587<tr class="altColor"> 1588<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSourceFactory)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setMediaSourceFactory​(MediaSourceFactory)</a></th> 1589<td class="colLast"> 1590<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSourceFactory)"><code>ExoPlayer.Builder.setMediaSourceFactory(MediaSourceFactory)</code></a> instead.</div> 1591</td> 1592</tr> 1593<tr class="rowColor"> 1594<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> 1595<td class="colLast"> 1596<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setPauseAtEndOfMediaItems(boolean)"><code>ExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)</code></a> instead.</div> 1597</td> 1598</tr> 1599<tr class="altColor"> 1600<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> 1601<td class="colLast"> 1602<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> 1603 instead.</div> 1604</td> 1605</tr> 1606<tr class="rowColor"> 1607<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> 1608<td class="colLast"> 1609<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setReleaseTimeoutMs(long)"><code>ExoPlayer.Builder.setReleaseTimeoutMs(long)</code></a> instead.</div> 1610</td> 1611</tr> 1612<tr class="altColor"> 1613<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> 1614<td class="colLast"> 1615<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekBackIncrementMs(long)"><code>ExoPlayer.Builder.setSeekBackIncrementMs(long)</code></a> instead.</div> 1616</td> 1617</tr> 1618<tr class="rowColor"> 1619<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> 1620<td class="colLast"> 1621<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSeekForwardIncrementMs(long)"><code>ExoPlayer.Builder.setSeekForwardIncrementMs(long)</code></a> instead.</div> 1622</td> 1623</tr> 1624<tr class="altColor"> 1625<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> 1626<td class="colLast"> 1627<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> 1628</td> 1629</tr> 1630<tr class="rowColor"> 1631<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> 1632<td class="colLast"> 1633<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setSkipSilenceEnabled(boolean)"><code>ExoPlayer.Builder.setSkipSilenceEnabled(boolean)</code></a> instead.</div> 1634</td> 1635</tr> 1636<tr class="altColor"> 1637<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> 1638<td class="colLast"> 1639<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> 1640</td> 1641</tr> 1642<tr class="rowColor"> 1643<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> 1644<td class="colLast"> 1645<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setUseLazyPreparation(boolean)"><code>ExoPlayer.Builder.setUseLazyPreparation(boolean)</code></a> instead.</div> 1646</td> 1647</tr> 1648<tr class="altColor"> 1649<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setVideoChangeFrameRateStrategy(int)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoChangeFrameRateStrategy​(int)</a></th> 1650<td class="colLast"> 1651<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoChangeFrameRateStrategy(int)"><code>ExoPlayer.Builder.setVideoChangeFrameRateStrategy(int)</code></a> instead.</div> 1652</td> 1653</tr> 1654<tr class="rowColor"> 1655<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.Builder.html#setVideoScalingMode(int)">com.google.android.exoplayer2.SimpleExoPlayer.Builder.setVideoScalingMode​(int)</a></th> 1656<td class="colLast"> 1657<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ExoPlayer.Builder.html#setVideoScalingMode(int)"><code>ExoPlayer.Builder.setVideoScalingMode(int)</code></a> instead.</div> 1658</td> 1659</tr> 1660<tr class="altColor"> 1661<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> 1662<td class="colLast"> 1663<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> 1664</td> 1665</tr> 1666<tr class="rowColor"> 1667<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> 1668<td class="colLast"> 1669<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> 1670</td> 1671</tr> 1672<tr class="altColor"> 1673<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#removeListener(com.google.android.exoplayer2.Player.EventListener)">com.google.android.exoplayer2.SimpleExoPlayer.removeListener​(Player.EventListener)</a></th> 1674<td class="colLast"></td> 1675</tr> 1676<tr class="rowColor"> 1677<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#retry()">com.google.android.exoplayer2.SimpleExoPlayer.retry()</a></th> 1678<td class="colLast"> 1679<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/SimpleExoPlayer.html#prepare()"><code>SimpleExoPlayer.prepare()</code></a> instead.</div> 1680</td> 1681</tr> 1682<tr class="altColor"> 1683<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setHandleWakeLock(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setHandleWakeLock​(boolean)</a></th> 1684<td class="colLast"></td> 1685</tr> 1686<tr class="rowColor"> 1687<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th> 1688<td class="colLast"></td> 1689</tr> 1690<tr class="altColor"> 1691<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#stop(boolean)">com.google.android.exoplayer2.SimpleExoPlayer.stop​(boolean)</a></th> 1692<td class="colLast"></td> 1693</tr> 1694<tr class="rowColor"> 1695<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.createMediaSource​(Uri)</a></th> 1696<td class="colLast"> 1697<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1698</td> 1699</tr> 1700<tr class="altColor"> 1701<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1702<td class="colLast"></td> 1703</tr> 1704<tr class="rowColor"> 1705<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th> 1706<td class="colLast"></td> 1707</tr> 1708<tr class="altColor"> 1709<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setDrmUserAgent​(String)</a></th> 1710<td class="colLast"></td> 1711</tr> 1712<tr class="rowColor"> 1713<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setLivePresentationDelayMs(long,boolean)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setLivePresentationDelayMs​(long, boolean)</a></th> 1714<td class="colLast"> 1715<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setLiveConfiguration(com.google.android.exoplayer2.MediaItem.LiveConfiguration)"><code>MediaItem.Builder.setLiveConfiguration(MediaItem.LiveConfiguration)</code></a> 1716 and <a href="com/google/android/exoplayer2/MediaItem.LiveConfiguration.Builder.html#setTargetOffsetMs(long)"><code>MediaItem.LiveConfiguration.Builder.setTargetOffsetMs(long)</code></a> to override the 1717 manifest, or <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setFallbackTargetLiveOffsetMs(long)"><code>DashMediaSource.Factory.setFallbackTargetLiveOffsetMs(long)</code></a> to provide a fallback value.</div> 1718</td> 1719</tr> 1720<tr class="altColor"> 1721<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th> 1722<td class="colLast"> 1723<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1724</td> 1725</tr> 1726<tr class="rowColor"> 1727<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.dash.DashMediaSource.Factory.setTag​(Object)</a></th> 1728<td class="colLast"> 1729<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/dash/DashMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DashMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1730</td> 1731</tr> 1732<tr class="altColor"> 1733<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1734<td class="colLast"></td> 1735</tr> 1736<tr class="rowColor"> 1737<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th> 1738<td class="colLast"></td> 1739</tr> 1740<tr class="altColor"> 1741<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setDrmUserAgent​(String)</a></th> 1742<td class="colLast"></td> 1743</tr> 1744<tr class="rowColor"> 1745<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.DefaultMediaSourceFactory.setStreamKeys​(List<StreamKey>)</a></th> 1746<td class="colLast"> 1747<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/DefaultMediaSourceFactory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>DefaultMediaSourceFactory.createMediaSource(MediaItem)</code></a> instead.</div> 1748</td> 1749</tr> 1750<tr class="altColor"> 1751<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.createMediaSource​(Uri)</a></th> 1752<td class="colLast"> 1753<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1754</td> 1755</tr> 1756<tr class="rowColor"> 1757<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1758<td class="colLast"></td> 1759</tr> 1760<tr class="altColor"> 1761<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th> 1762<td class="colLast"></td> 1763</tr> 1764<tr class="rowColor"> 1765<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setDrmUserAgent​(String)</a></th> 1766<td class="colLast"></td> 1767</tr> 1768<tr class="altColor"> 1769<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th> 1770<td class="colLast"> 1771<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1772</td> 1773</tr> 1774<tr class="rowColor"> 1775<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory.setTag​(Object)</a></th> 1776<td class="colLast"> 1777<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/hls/HlsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>HlsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1778</td> 1779</tr> 1780<tr class="altColor"> 1781<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.MediaSourceFactory.createMediaSource​(Uri)</a></th> 1782<td class="colLast"> 1783<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>MediaSourceFactory.createMediaSource(MediaItem)</code></a> instead.</div> 1784</td> 1785</tr> 1786<tr class="rowColor"> 1787<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1788<td class="colLast"> 1789<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an 1790 implementation that configures the returned <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> with the desired 1791 <a href="com/google/android/exoplayer2/upstream/HttpDataSource.Factory.html" title="interface in com.google.android.exoplayer2.upstream"><code>HttpDataSource.Factory</code></a>.</div> 1792</td> 1793</tr> 1794<tr class="altColor"> 1795<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th> 1796<td class="colLast"> 1797<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an 1798 implementation that always returns the same instance.</div> 1799</td> 1800</tr> 1801<tr class="rowColor"> 1802<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.MediaSourceFactory.setDrmUserAgent​(String)</a></th> 1803<td class="colLast"> 1804<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setDrmSessionManagerProvider(com.google.android.exoplayer2.drm.DrmSessionManagerProvider)"><code>MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider)</code></a> and pass an 1805 implementation that configures the returned <a href="com/google/android/exoplayer2/drm/DrmSessionManager.html" title="interface in com.google.android.exoplayer2.drm"><code>DrmSessionManager</code></a> with the desired 1806 <code>userAgent</code>.</div> 1807</td> 1808</tr> 1809<tr class="altColor"> 1810<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/MediaSourceFactory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.MediaSourceFactory.setStreamKeys​(List<StreamKey>)</a></th> 1811<td class="colLast"> 1812<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.LocalConfiguration.html#streamKeys"><code>MediaItem.LocalConfiguration.streamKeys</code></a> instead.</div> 1813</td> 1814</tr> 1815<tr class="rowColor"> 1816<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.createMediaSource​(Uri)</a></th> 1817<td class="colLast"> 1818<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1819</td> 1820</tr> 1821<tr class="altColor"> 1822<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setCustomCacheKey(java.lang.String)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setCustomCacheKey​(String)</a></th> 1823<td class="colLast"> 1824<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setCustomCacheKey(java.lang.String)"><code>MediaItem.Builder.setCustomCacheKey(String)</code></a> and <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1825</td> 1826</tr> 1827<tr class="rowColor"> 1828<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1829<td class="colLast"></td> 1830</tr> 1831<tr class="altColor"> 1832<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th> 1833<td class="colLast"></td> 1834</tr> 1835<tr class="rowColor"> 1836<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setDrmUserAgent​(String)</a></th> 1837<td class="colLast"></td> 1838</tr> 1839<tr class="altColor"> 1840<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setExtractorsFactory(com.google.android.exoplayer2.extractor.ExtractorsFactory)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setExtractorsFactory​(ExtractorsFactory)</a></th> 1841<td class="colLast"> 1842<div class="deprecationComment">Pass the <a href="com/google/android/exoplayer2/extractor/ExtractorsFactory.html" title="interface in com.google.android.exoplayer2.extractor"><code>ExtractorsFactory</code></a> via <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSource.Factory,com.google.android.exoplayer2.extractor.ExtractorsFactory)"><code>Factory(DataSource.Factory, 1843 ExtractorsFactory)</code></a>. This is necessary so that proguard can treat the default extractors 1844 factory as unused.</div> 1845</td> 1846</tr> 1847<tr class="rowColor"> 1848<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory.setTag​(Object)</a></th> 1849<td class="colLast"> 1850<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/ProgressiveMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>ProgressiveMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1851</td> 1852</tr> 1853<tr class="altColor"> 1854<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1855<td class="colLast"> 1856<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div> 1857</td> 1858</tr> 1859<tr class="rowColor"> 1860<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th> 1861<td class="colLast"> 1862<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div> 1863</td> 1864</tr> 1865<tr class="altColor"> 1866<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory.setDrmUserAgent​(String)</a></th> 1867<td class="colLast"> 1868<div class="deprecationComment"><a href="com/google/android/exoplayer2/source/rtsp/RtspMediaSource.html" title="class in com.google.android.exoplayer2.source.rtsp"><code>RtspMediaSource</code></a> does not support DRM.</div> 1869</td> 1870</tr> 1871<tr class="rowColor"> 1872<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(android.net.Uri)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.createMediaSource​(Uri)</a></th> 1873<td class="colLast"> 1874<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1875</td> 1876</tr> 1877<tr class="altColor"> 1878<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1879<td class="colLast"></td> 1880</tr> 1881<tr class="rowColor"> 1882<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmSessionManager​(DrmSessionManager)</a></th> 1883<td class="colLast"></td> 1884</tr> 1885<tr class="altColor"> 1886<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setDrmUserAgent​(String)</a></th> 1887<td class="colLast"></td> 1888</tr> 1889<tr class="rowColor"> 1890<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setStreamKeys(java.util.List)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setStreamKeys​(List<StreamKey>)</a></th> 1891<td class="colLast"> 1892<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setStreamKeys(java.util.List)"><code>MediaItem.Builder.setStreamKeys(List)</code></a> and <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1893</td> 1894</tr> 1895<tr class="altColor"> 1896<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#setTag(java.lang.Object)">com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory.setTag​(Object)</a></th> 1897<td class="colLast"> 1898<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/MediaItem.Builder.html#setTag(java.lang.Object)"><code>MediaItem.Builder.setTag(Object)</code></a> and <a href="com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html#createMediaSource(com.google.android.exoplayer2.MediaItem)"><code>SsMediaSource.Factory.createMediaSource(MediaItem)</code></a> instead.</div> 1899</td> 1900</tr> 1901<tr class="rowColor"> 1902<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmHttpDataSourceFactory(com.google.android.exoplayer2.upstream.HttpDataSource.Factory)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmHttpDataSourceFactory​(HttpDataSource.Factory)</a></th> 1903<td class="colLast"></td> 1904</tr> 1905<tr class="altColor"> 1906<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmSessionManager(com.google.android.exoplayer2.drm.DrmSessionManager)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmSessionManager​(DrmSessionManager)</a></th> 1907<td class="colLast"></td> 1908</tr> 1909<tr class="rowColor"> 1910<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html#setDrmUserAgent(java.lang.String)">com.google.android.exoplayer2.testutil.FakeMediaSourceFactory.setDrmUserAgent​(String)</a></th> 1911<td class="colLast"></td> 1912</tr> 1913<tr class="altColor"> 1914<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getAudioComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getAudioComponent()</a></th> 1915<td class="colLast"></td> 1916</tr> 1917<tr class="rowColor"> 1918<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getDeviceComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getDeviceComponent()</a></th> 1919<td class="colLast"></td> 1920</tr> 1921<tr class="altColor"> 1922<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getTextComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getTextComponent()</a></th> 1923<td class="colLast"></td> 1924</tr> 1925<tr class="rowColor"> 1926<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#getVideoComponent()">com.google.android.exoplayer2.testutil.StubExoPlayer.getVideoComponent()</a></th> 1927<td class="colLast"></td> 1928</tr> 1929<tr class="altColor"> 1930<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> 1931<td class="colLast"></td> 1932</tr> 1933<tr class="rowColor"> 1934<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#retry()">com.google.android.exoplayer2.testutil.StubExoPlayer.retry()</a></th> 1935<td class="colLast"></td> 1936</tr> 1937<tr class="altColor"> 1938<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> 1939<td class="colLast"></td> 1940</tr> 1941<tr class="rowColor"> 1942<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/StubExoPlayer.html#setThrowsWhenUsingWrongThread(boolean)">com.google.android.exoplayer2.testutil.StubExoPlayer.setThrowsWhenUsingWrongThread​(boolean)</a></th> 1943<td class="colLast"></td> 1944</tr> 1945<tr class="altColor"> 1946<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> 1947<td class="colLast"></td> 1948</tr> 1949<tr class="rowColor"> 1950<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> 1951<td class="colLast"> 1952<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> 1953</td> 1954</tr> 1955<tr class="altColor"> 1956<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> 1957<td class="colLast"> 1958<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 1959 <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div> 1960</td> 1961</tr> 1962<tr class="rowColor"> 1963<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> 1964<td class="colLast"> 1965<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 1966 <a href="com/google/android/exoplayer2/trackselection/TrackSelectionParameters.html#trackSelectionOverrides"><code>TrackSelectionParameters.trackSelectionOverrides</code></a> instead.</div> 1967</td> 1968</tr> 1969<tr class="altColor"> 1970<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> 1971<td class="colLast"> 1972<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> 1973</td> 1974</tr> 1975<tr class="rowColor"> 1976<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> 1977<td class="colLast"> 1978<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> 1979</td> 1980</tr> 1981<tr class="altColor"> 1982<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> 1983<td class="colLast"> 1984<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> 1985</td> 1986</tr> 1987<tr class="rowColor"> 1988<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> 1989<td class="colLast"> 1990<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/ui/DownloadNotificationHelper.html#buildProgressNotification(android.content.Context,int,android.app.PendingIntent,java.lang.String,java.util.List,int)"><code>DownloadNotificationHelper.buildProgressNotification(Context, int, PendingIntent, String, List, 1991 int)</code></a>.</div> 1992</td> 1993</tr> 1994<tr class="altColor"> 1995<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> 1996<td class="colLast"> 1997<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> 1998 instead.</div> 1999</td> 2000</tr> 2001<tr class="rowColor"> 2002<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/video/VideoDecoderGLSurfaceView.html#getVideoDecoderOutputBufferRenderer()">com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView.getVideoDecoderOutputBufferRenderer()</a></th> 2003<td class="colLast"> 2004<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> 2005</td> 2006</tr> 2007<tr class="altColor"> 2008<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> 2009<td class="colLast"> 2010<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> 2011</td> 2012</tr> 2013</tbody> 2014</table> 2015</li> 2016</ul> 2017<a id="constructor"> 2018<!-- --> 2019</a> 2020<ul class="blockList"> 2021<li class="blockList"> 2022<table class="deprecatedSummary"> 2023<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 2024<tr> 2025<th class="colFirst" scope="col">Constructor</th> 2026<th class="colLast" scope="col">Description</th> 2027</tr> 2028<tbody> 2029<tr class="altColor"> 2030<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#%3Cinit%3E(android.content.Context,int)">com.google.android.exoplayer2.DefaultRenderersFactory​(Context, int)</a></th> 2031<td class="colLast"> 2032<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#%3Cinit%3E(android.content.Context)"><code>DefaultRenderersFactory(Context)</code></a> and <a href="com/google/android/exoplayer2/DefaultRenderersFactory.html#setExtensionRendererMode(int)"><code>DefaultRenderersFactory.setExtensionRendererMode(int)</code></a>.</div> 2033</td> 2034</tr> 2035<tr class="rowColor"> 2036<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> 2037<td class="colLast"> 2038<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> 2039</td> 2040</tr> 2041<tr class="altColor"> 2042<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> 2043<td class="colLast"> 2044<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, 2045 DrmSessionEventListener.EventDispatcher)</code></a> instead.</div> 2046</td> 2047</tr> 2048<tr class="rowColor"> 2049<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/ext/cronet/CronetDataSource.html#%3Cinit%3E(org.chromium.net.CronetEngine,java.util.concurrent.Executor)">com.google.android.exoplayer2.ext.cronet.CronetDataSource​(CronetEngine, Executor)</a></th> 2050<td class="colLast"> 2051<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> 2052</td> 2053</tr> 2054<tr class="altColor"> 2055<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> 2056<td class="colLast"> 2057<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> 2058</td> 2059</tr> 2060<tr class="rowColor"> 2061<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> 2062<td class="colLast"> 2063<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> 2064</td> 2065</tr> 2066<tr class="altColor"> 2067<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> 2068<td class="colLast"> 2069<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> 2070</td> 2071</tr> 2072<tr class="rowColor"> 2073<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> 2074<td class="colLast"> 2075<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> 2076</td> 2077</tr> 2078<tr class="altColor"> 2079<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> 2080<td class="colLast"> 2081<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> 2082</td> 2083</tr> 2084<tr class="rowColor"> 2085<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> 2086<td class="colLast"> 2087<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> 2088</td> 2089</tr> 2090<tr class="altColor"> 2091<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> 2092<td class="colLast"> 2093<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> 2094</td> 2095</tr> 2096<tr class="rowColor"> 2097<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> 2098<td class="colLast"> 2099<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> 2100</td> 2101</tr> 2102<tr class="altColor"> 2103<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> 2104<td class="colLast"> 2105<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> 2106</td> 2107</tr> 2108<tr class="rowColor"> 2109<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> 2110<td class="colLast"> 2111<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, 2112 int)</code></a> instead.</div> 2113</td> 2114</tr> 2115<tr class="altColor"> 2116<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/SimpleExoPlayer.html#%3Cinit%3E(android.content.Context,com.google.android.exoplayer2.RenderersFactory,com.google.android.exoplayer2.trackselection.TrackSelector,com.google.android.exoplayer2.source.MediaSourceFactory,com.google.android.exoplayer2.LoadControl,com.google.android.exoplayer2.upstream.BandwidthMeter,com.google.android.exoplayer2.analytics.AnalyticsCollector,boolean,com.google.android.exoplayer2.util.Clock,android.os.Looper)">com.google.android.exoplayer2.SimpleExoPlayer​(Context, RenderersFactory, TrackSelector, MediaSourceFactory, LoadControl, BandwidthMeter, AnalyticsCollector, boolean, Clock, Looper)</a></th> 2117<td class="colLast"> 2118<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> 2119</td> 2120</tr> 2121<tr class="rowColor"> 2122<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> 2123<td class="colLast"> 2124<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> 2125</td> 2126</tr> 2127<tr class="altColor"> 2128<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> 2129<td class="colLast"> 2130<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, 2131 MediaItem)</code></a> instead.</div> 2132</td> 2133</tr> 2134<tr class="rowColor"> 2135<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/testutil/FakeExoMediaDrm.html#%3Cinit%3E()">com.google.android.exoplayer2.testutil.FakeExoMediaDrm()</a></th> 2136<td class="colLast"> 2137<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> 2138</td> 2139</tr> 2140<tr class="altColor"> 2141<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> 2142<td class="colLast"> 2143<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> 2144</td> 2145</tr> 2146<tr class="rowColor"> 2147<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html#%3Cinit%3E()">com.google.android.exoplayer2.trackselection.DefaultTrackSelector()</a></th> 2148<td class="colLast"> 2149<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> 2150</td> 2151</tr> 2152<tr class="altColor"> 2153<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> 2154<td class="colLast"> 2155<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> 2156</td> 2157</tr> 2158<tr class="rowColor"> 2159<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> 2160<td class="colLast"> 2161<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> 2162</td> 2163</tr> 2164<tr class="altColor"> 2165<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> 2166<td class="colLast"> 2167<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[], 2168 TracksInfo, Object)</code></a>.</div> 2169</td> 2170</tr> 2171<tr class="rowColor"> 2172<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> 2173<td class="colLast"> 2174<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> 2175</td> 2176</tr> 2177<tr class="altColor"> 2178<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> 2179<td class="colLast"> 2180<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> 2181</td> 2182</tr> 2183<tr class="rowColor"> 2184<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> 2185<td class="colLast"> 2186<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> 2187</td> 2188</tr> 2189<tr class="altColor"> 2190<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> 2191<td class="colLast"> 2192<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> 2193</td> 2194</tr> 2195<tr class="rowColor"> 2196<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DataSpec.html#%3Cinit%3E(android.net.Uri,int)">com.google.android.exoplayer2.upstream.DataSpec​(Uri, int)</a></th> 2197<td class="colLast"> 2198<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> 2199</td> 2200</tr> 2201<tr class="altColor"> 2202<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultBandwidthMeter.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultBandwidthMeter()</a></th> 2203<td class="colLast"> 2204<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> 2205</td> 2206</tr> 2207<tr class="rowColor"> 2208<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/DefaultHttpDataSource.html#%3Cinit%3E()">com.google.android.exoplayer2.upstream.DefaultHttpDataSource()</a></th> 2209<td class="colLast"> 2210<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> 2211</td> 2212</tr> 2213<tr class="altColor"> 2214<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> 2215<td class="colLast"> 2216<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> 2217</td> 2218</tr> 2219<tr class="rowColor"> 2220<th class="colDeprecatedItemName" scope="row"><a href="com/google/android/exoplayer2/upstream/HttpDataSource.HttpDataSourceException.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSpec,int)">com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException​(DataSpec, int)</a></th> 2221<td class="colLast"> 2222<div class="deprecationComment">Use <a href="com/google/android/exoplayer2/upstream/HttpDataSource.HttpDataSourceException.html#%3Cinit%3E(com.google.android.exoplayer2.upstream.DataSpec,@com.google.android.exoplayer2.PlaybackException.ErrorCodeint,int)"><code>HttpDataSourceException(DataSpec, PlaybackException.ERROR_CODE_IO_UNSPECIFIED, int)</code></a>.</div> 2223</td> 2224</tr> 2225<tr class="altColor"> 2226<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> 2227<td class="colLast"> 2228<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, 2229 byte[])</code></a>.</div> 2230</td> 2231</tr> 2232<tr class="rowColor"> 2233<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> 2234<td class="colLast"> 2235<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> 2236</td> 2237</tr> 2238</tbody> 2239</table> 2240</li> 2241</ul> 2242</div> 2243</main> 2244<footer role="contentinfo"> 2245<nav role="navigation"> 2246<!-- ======= START OF BOTTOM NAVBAR ====== --> 2247<div class="bottomNav"><a id="navbar.bottom"> 2248<!-- --> 2249</a> 2250<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 2251<a id="navbar.bottom.firstrow"> 2252<!-- --> 2253</a> 2254<ul class="navList" title="Navigation"> 2255<li><a href="index.html">Overview</a></li> 2256<li>Package</li> 2257<li>Class</li> 2258<li><a href="overview-tree.html">Tree</a></li> 2259<li class="navBarCell1Rev">Deprecated</li> 2260<li><a href="index-all.html">Index</a></li> 2261<li><a href="help-doc.html">Help</a></li> 2262</ul> 2263</div> 2264<div class="subNav"> 2265<ul class="navList" id="allclasses_navbar_bottom"> 2266<li><a href="allclasses.html">All Classes</a></li> 2267</ul> 2268<div> 2269<script type="text/javascript"><!-- 2270 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 2271 if(window==top) { 2272 allClassesLink.style.display = "block"; 2273 } 2274 else { 2275 allClassesLink.style.display = "none"; 2276 } 2277 //--> 2278</script> 2279<noscript> 2280<div>JavaScript is disabled on your browser.</div> 2281</noscript> 2282</div> 2283<a id="skip.navbar.bottom"> 2284<!-- --> 2285</a></div> 2286<!-- ======== END OF BOTTOM NAVBAR ======= --> 2287</nav> 2288</footer> 2289</body> 2290</html> 2291