Class YandexAdsLoader

  • All Implemented Interfaces:
    com.google.android.exoplayer2.source.ads.AdsLoader

    @MainThread()@Deprecated(message = "This AdsLoader version is deprecated, use YandexMedia3AdsLoader", replaceWith = @ReplaceWith(imports = {"com.yandex.mobile.ads.instream.media3.YandexMedia3AdsLoader"}, expression = "YandexMedia3AdsLoader"), level = DeprecationLevel.WARNING) 
    public final class YandexAdsLoader
    extends PrivateYandexAdsLoader
                        

    This class is implementation of ExoPlayer's AdsLoader interface. It can be used for simplified integration of Yandex Instream Ads to Exoplayer. Note that all methods of this class must be called on main thread.