HybridMediaItem

class HybridMediaItem(val media: Media, val mediaSource: MediaSource) : Media, MediaSource

Constructors

Link copied to clipboard
fun HybridMediaItem(media: Media, mediaSource: MediaSource)

Functions

Link copied to clipboard
open override fun addDrmEventListener(p0: Handler, p1: DrmSessionEventListener)
Link copied to clipboard
open override fun addEventListener(p0: Handler, p1: MediaSourceEventListener)
Link copied to clipboard
open override fun createPeriod(    p0: MediaSource.MediaPeriodId,     p1: Allocator,     p2: Long): MediaPeriod
Link copied to clipboard
open override fun disable(p0: MediaSource.MediaSourceCaller)
Link copied to clipboard
open override fun enable(p0: MediaSource.MediaSourceCaller)
Link copied to clipboard
open fun getInitialTimeline(): Timeline?
Link copied to clipboard
open override fun getMediaItem(): MediaItem
Link copied to clipboard
open fun isSingleWindow(): Boolean
Link copied to clipboard
open override fun maybeThrowSourceInfoRefreshError()
Link copied to clipboard
open override fun prepareSource(    p0: MediaSource.MediaSourceCaller,     @Nullable p1: TransferListener?,     p2: PlayerId)
Link copied to clipboard
open override fun releasePeriod(p0: MediaPeriod)
Link copied to clipboard
open override fun releaseSource(p0: MediaSource.MediaSourceCaller)
Link copied to clipboard
open override fun removeDrmEventListener(p0: DrmSessionEventListener)
Link copied to clipboard
open override fun removeEventListener(p0: MediaSourceEventListener)

Properties

Link copied to clipboard
val media: Media
Link copied to clipboard
open override val mediaDrm: MediaDrm?
Link copied to clipboard
val mediaSource: MediaSource
Link copied to clipboard
open override val type: String?
Link copied to clipboard
open override val uri: Uri