BuilderBase

A base class for GfpAdLoader.Builder. Provides common builder functionality for configuring ad loaders.

Parameters

<T>

The type of the builder

Inheritors

Functions

Link copied to clipboard
open fun build(): GfpAdLoader
Builds and returns a new GfpAdLoader instance.
Link copied to clipboard
open fun withAdListener(@NonNull listener: AdEventListener): T
Registers a listener to handle click, impression, and error events.
Link copied to clipboard
Registers a listener to handle GfpBannerAdView.
Link copied to clipboard
open fun withNativeAd(@NonNull options: GfpNativeAdOptions, @NonNull listener: GfpNativeAd.OnNativeAdLoadedListener): T
Registers a listener to handle GfpNativeAd.
Link copied to clipboard
Link copied to clipboard
open fun withTimeoutMillis(timeoutMillis: Long): T
Sets the timeout in milliseconds for requesting an ad.
Link copied to clipboard
Registers a listener to detect user show interest changes.