Class VideoAdLoader.OnVideoAdLoadedListener

  • Enclosing class:
    VideoAdLoader

    public abstract static class VideoAdLoader.OnVideoAdLoadedListener
    extends java.lang.Object
    Class that is implemented to determine result of video loading request.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void onVideoAdFailedToLoad​(VideoAdError error)
      Notifies that video ad request failed.
      abstract void onVideoAdLoaded​(java.util.List<com.yandex.mobile.ads.video.models.ad.VideoAd> videoAds)
      Notifies when video ads are loaded.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OnVideoAdLoadedListener

        public OnVideoAdLoadedListener()
    • Method Detail

      • onVideoAdLoaded

        public abstract void onVideoAdLoaded​(@NonNull
                                             java.util.List<com.yandex.mobile.ads.video.models.ad.VideoAd> videoAds)
        Notifies when video ads are loaded.
        Parameters:
        videoAds - Result of successful response.
      • onVideoAdFailedToLoad

        public abstract void onVideoAdFailedToLoad​(@NonNull
                                                   VideoAdError error)
        Notifies that video ad request failed.
        Parameters:
        error - see errors here VideoAdError