Package-level declarations

Types

Link copied to clipboard
data class BlockedTimeRange(val start: Long, val end: Long, val reason: String? = null, val id: String? = null) : TimeRange, Parcelable

Blocked time range. The player will always seek to end when reaching start, regardless of the reason or id.

Link copied to clipboard
data class Chapter(val id: String, val start: Long, val end: Long, val mediaMetadata: MediaMetadata) : TimeRange, Parcelable

Chapter

Link copied to clipboard
sealed interface Credit : TimeRange, Parcelable

Credit

Link copied to clipboard
sealed interface TimeRange

Time range

Functions

Link copied to clipboard
fun <T : TimeRange> List<T>.firstOrNullAtPosition(position: Long): T?