Class AppOpenAdLoader


  • @MainThread
    public final class AppOpenAdLoader
    extends java.lang.Object
    Full-screen app open ads.
    • Constructor Summary

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

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

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

      • AppOpenAdLoader

        public AppOpenAdLoader​(@NonNull
                               android.content.Context context)
        Constructs a new AppOpenAdLoader programmatically.
        Parameters:
        context - The activity context the view is running in, through which it can access 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 app open ads.