IllegalSeekPositionException

@UnstableApi
class IllegalSeekPositionException : IllegalStateException


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

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 positionMsLong

The seek position in the specified window.

timeline

val timelineTimeline!

The Timeline in which the seek was attempted.

windowIndex

val windowIndexInt

The index of the window being seeked to.