Add a sentence to TrackSelector javadoc calling out #invalidate()

PiperOrigin-RevId: 325767964
This commit is contained in:
ibaker 2020-08-10 10:50:26 +01:00 committed by kim-vde
parent 5ed0c12ff0
commit 16d54f5e3d

View file

@ -61,6 +61,8 @@ import com.google.android.exoplayer2.util.Assertions;
* prefer audio tracks in a particular language. This will trigger the player to make new
* track selections. Note that the player will have to re-buffer in the case that the new
* track selection for the currently playing period differs from the one that was invalidated.
* Implementing subclasses can trigger invalidation by calling {@link #invalidate()}, which
* will call {@link InvalidationListener#onTrackSelectionsInvalidated()}.
* </ul>
*
* <h3>Renderer configuration</h3>