precated.</span></div>
<div class="block">Sets the <a href="MediaSource.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource</code></a> that will create the underlying media period.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPrepareListener(com.google.android.exoplayer2.source.MaskingMediaPeriod.PrepareListener)">setPrepareListener</a></span>&#8203;