Interface AdsLoader.Provider
-
- All Known Subinterfaces:
DefaultMediaSourceFactory.AdsLoaderProvider
- Enclosing interface:
- AdsLoader
public static interface AdsLoader.Provider
ProvidesAdsLoader
instances for media items that havead tag URIs
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdsLoader
getAdsLoader(MediaItem.AdsConfiguration adsConfiguration)
Returns anAdsLoader
for the givenads configuration
, ornull
if no ads loader is available for the given ads configuration.
-
-
-
Method Detail
-
getAdsLoader
@Nullable AdsLoader getAdsLoader(MediaItem.AdsConfiguration adsConfiguration)
Returns anAdsLoader
for the givenads configuration
, ornull
if no ads loader is available for the given ads configuration.This method is called each time a
MediaSource
is created from aMediaItem
that defines anads configuration
.
-
-