Add throws IllegalSeekPositionException doc to seekTo(windowIndex, positionMs).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177011497
This commit is contained in:
tonihei 2017-11-27 07:02:33 -08:00 committed by Oliver Woodman
parent 16c43c6bb7
commit ee26da682c

View file

@ -401,6 +401,8 @@ public interface Player {
* @param windowIndex The index of the window.
* @param positionMs The seek position in the specified window, or {@link C#TIME_UNSET} to seek to
* the window's default position.
* @throws IllegalSeekPositionException If the player has a non-empty timeline and the provided
* {@code windowIndex} is not within the bounds of the current timeline.
*/
void seekTo(int windowIndex, long positionMs);