IllegalSeekPositionException


@UnstableApi
class IllegalSeekPositionException : IllegalStateException


Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.

Summary

Public constructors

IllegalSeekPositionException(
    timeline: Timeline!,
    windowIndex: Int,
    positionMs: Long
)

Public properties

Long

The seek position in the specified window.

Timeline!

The Timeline in which the seek was attempted.

Int

The index of the window being seeked to.

Public constructors

IllegalSeekPositionException

IllegalSeekPositionException(
    timeline: Timeline!,
    windowIndex: Int,
    positionMs: Long
)
Parameters
timeline: Timeline!

The Timeline in which the seek was attempted.

windowIndex: Int

The index of the window being seeked to.

positionMs: Long

The seek position in the specified window.

Public properties

positionMs

val positionMs: Long

The seek position in the specified window.

timeline

val timeline: Timeline!

The Timeline in which the seek was attempted.

windowIndex

val windowIndex: Int

The index of the window being seeked to.