Class AppOpenAdLoader

  • All Implemented Interfaces:

    
    public final class AppOpenAdLoader
    
                        

    A loader class responsible for loading an app open ad.

    Use load to start loading an app open ad. You should call destroy to release any resources when the loader is no longer needed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit load(AdRequest adRequest, Context context) Starts loading an app open ad with the specified AdRequest.
      final Unit destroy() Releases resources and cancels any ongoing ad load requests.
      • Methods inherited from class java.lang.Object

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

      • AppOpenAdLoader

        AppOpenAdLoader(AppOpenAdLoadListener loadListener)
        Parameters:
        loadListener - Listener that will receive callbacks about the ad loading state.
    • Method Detail

      • load

         final Unit load(AdRequest adRequest, Context context)

        Starts loading an app open ad with the specified AdRequest.

        Parameters:
        adRequest - The set of parameters used to load the ad.
        context - The context used to access resources, themes, etc.
      • destroy

         final Unit destroy()

        Releases resources and cancels any ongoing ad load requests.