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