MediaSource

abstract class MediaSource : Parcelable

Base class for all media sources.

Deprecated

use SourceConfig(url, type) instead.

Constructors

MediaSource
Link copied to clipboard
open fun MediaSource(type: SourceType, url: String)
MediaSource
Link copied to clipboard
open fun MediaSource(in: Parcel)

Properties

type
Link copied to clipboard
private open val type: SourceType
url
Link copied to clipboard
private open val url: String

Functions

describeContents
Link copied to clipboard
open fun describeContents(): Int
writeToParcel
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)

Inherited functions

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

Inheritors

AdaptiveSource
Link copied to clipboard
ProgressiveSource
Link copied to clipboard