Class RewardedAdLoader


  • @MainThread
    public final class RewardedAdLoader
    extends java.lang.Object
    Full-screen rewarded ads.
    • Constructor Summary

      Constructors 
      Constructor Description
      RewardedAdLoader​(android.content.Context context)
      Constructs a new RewardedAdLoader programmatically.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelLoading()
      Cancel active loading of the rewarded ads.
      void loadAd​(com.yandex.mobile.ads.common.AdRequestConfiguration adRequestConfiguration)
      Starts loading the ad by AdRequestConfiguration on a background thread.
      void setAdLoadListener​(RewardedAdLoadListener rewardedAdLoadListener)
      • Methods inherited from class java.lang.Object

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

      • RewardedAdLoader

        public RewardedAdLoader​(@NonNull
                                android.content.Context context)
        Constructs a new RewardedAdLoader programmatically.
        Parameters:
        context - The context through which can be accessible the current theme, resources, etc. In particular, it uses the window manager and theme in this context to present its UI.
    • Method Detail

      • loadAd

        public void loadAd​(@NonNull
                           com.yandex.mobile.ads.common.AdRequestConfiguration adRequestConfiguration)
        Starts loading the ad by AdRequestConfiguration on a background thread.
        Parameters:
        adRequestConfiguration - AdRequestConfiguration
      • cancelLoading

        public void cancelLoading()
        Cancel active loading of the rewarded ads.