Credit

sealed interface Credit : TimeRange, Parcelable

Credit

Inheritors

Types

Link copied to clipboard
data class Closing(val start: Long, val end: Long) : Credit

Closing credits

Link copied to clipboard
data class Opening(val start: Long, val end: Long) : Credit

Opening credits

Properties

Link copied to clipboard
open val duration: Long

Duration, in milliseconds.

Link copied to clipboard
abstract val end: Long

The end position, in milliseconds, in the player timeline.

Link copied to clipboard
abstract val start: Long

The start position, in milliseconds, in the player timeline.

Functions

Link copied to clipboard
open operator fun contains(positionMs: Long): Boolean

Check if the provided position is in this TimeRange.

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)