toggle menu
Pillarbox
dev
androidJvm
switch theme
search in API
pillarbox-player
/
ch.srgssr.pillarbox.player.asset
/
AssetLoader
Asset
Loader
abstract
class
AssetLoader
(
val
mediaSourceFactory
:
MediaSource.Factory
)
Asset loader
Inheritors
UrlAssetLoader
Members
Constructors
Asset
Loader
Link copied to clipboard
constructor
(
mediaSourceFactory
:
MediaSource.Factory
)
Create empty Asset loader
Properties
media
Source
Factory
Link copied to clipboard
val
mediaSourceFactory
:
MediaSource.Factory
Functions
can
Load
Asset
Link copied to clipboard
abstract
fun
canLoadAsset
(
mediaItem
:
MediaItem
)
:
Boolean
Can load asset
load
Asset
Link copied to clipboard
abstract
suspend
fun
loadAsset
(
mediaItem
:
MediaItem
)
:
Asset
Load asset