IllegalSeekPositionException
Artifact: androidx.media3:media3-common
@UnstableApi
public final class IllegalSeekPositionException extends IllegalStateException
| java.lang.Object | |||||
| ↳ | kotlin.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.lang.IllegalStateException | ||||
| ↳ | androidx.media3.common.IllegalSeekPositionException |
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.
Summary
Public fields |
|
|---|---|
final long |
The seek position in the specified window. |
final Timeline |
The |
final int |
The index of the window being seeked to. |
Public constructors |
|---|
IllegalSeekPositionException( |
Inherited methods |
|---|
Public fields
Public constructors
IllegalSeekPositionException
public IllegalSeekPositionException(
Timeline timeline,
int windowIndex,
long positionMs
)