Class NativeBulkAdLoader


  • @MainThread
    public class NativeBulkAdLoader
    extends java.lang.Object
    Class containing controls for bulk request ad loading.
    • Constructor Detail

      • NativeBulkAdLoader

        public NativeBulkAdLoader​(@NonNull
                                  android.content.Context context)
        Constructs a new NativeBulkAdLoader with specific configuration.
        Parameters:
        context - The activity context used to retrieve the application context.
    • Method Detail

      • setNativeBulkAdLoadListener

        public void setNativeBulkAdLoadListener​(@Nullable
                                                NativeBulkAdLoadListener listener)
        Register a callback for listening native bulk ad loader.
        Parameters:
        listener - an NativeBulkAdLoadListener object that handles lifecycle native ads.
      • cancelLoading

        public void cancelLoading()
        Cancel bulk ad loading.