AdaptiveSource

abstract class AdaptiveSource : MediaSource

Base class for all adaptive media sources.

Deprecated

use SourceConfig(url, type) instead.

Constructors

AdaptiveSource
Link copied to clipboard
open fun AdaptiveSource(type: SourceType, url: String)

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
open fun describeContents(): Int
getType
Link copied to clipboard
open fun getType(): SourceType
Returns the SourceType of the MediaSource.
getUrl
Link copied to clipboard
open fun getUrl(): String
Returns the URL to the source of the MediaSource.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)
open fun writeToParcel(dest: Parcel, flags: Int)

Inheritors

DASHSource
Link copied to clipboard
HLSSource
Link copied to clipboard
SmoothSource
Link copied to clipboard