Package-level declarations

Types

Link copied to clipboard
data class Asset(val mediaSource: MediaSource, val trackersData: MediaItemTrackerData = MutableMediaItemTrackerData.EMPTY.toMediaItemTrackerData(), val mediaMetadata: MediaMetadata = MediaMetadata.EMPTY, val blockedTimeRanges: List<BlockedTimeRange> = emptyList())

Represents an asset, which contains the necessary components for playback.

Link copied to clipboard
abstract class AssetLoader(val mediaSourceFactory: MediaSource.Factory)

An abstract class responsible for loading an Asset from a given MediaItem.

Link copied to clipboard
class UrlAssetLoader(defaultMediaSourceFactory: DefaultMediaSourceFactory) : AssetLoader

An AssetLoader implementation that loads an Asset from a URL provided in the MediaItem.