BuilderBase

A base class for GfpAdLoader.Builder

Inheritors

Functions

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