Package com.google.android.exoplayer2
Class IllegalSeekPositionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.google.android.exoplayer2.IllegalSeekPositionException
-
- All Implemented Interfaces:
Serializable
@Deprecated public final class IllegalSeekPositionException extends IllegalStateException
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Thrown when an attempt is made to seek to a position that does not exist in the player'sTimeline.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description longpositionMsDeprecated.The seek position in the specified window.TimelinetimelineDeprecated.TheTimelinein which the seek was attempted.intwindowIndexDeprecated.The index of the window being seeked to.
-
Constructor Summary
Constructors Constructor Description IllegalSeekPositionException(Timeline timeline, int windowIndex, long positionMs)Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalSeekPositionException
public IllegalSeekPositionException(Timeline timeline, int windowIndex, long positionMs)
Deprecated.- Parameters:
timeline- TheTimelinein which the seek was attempted.windowIndex- The index of the window being seeked to.positionMs- The seek position in the specified window.
-
-