AssetLoader

abstract class AssetLoader(val mediaSourceFactory: MediaSource.Factory)

Asset loader

Inheritors

Constructors

Link copied to clipboard
constructor(mediaSourceFactory: MediaSource.Factory)

Create empty Asset loader

Properties

Functions

Link copied to clipboard
abstract fun canLoadAsset(mediaItem: MediaItem): Boolean

Can load asset

Link copied to clipboard
abstract suspend fun loadAsset(mediaItem: MediaItem): Asset

Load asset