withNativeAd

Registers a listener to handle GfpNativeAd. The GfpNativeAd should be shown in GfpNativeAdView.

Return

The builder instance

Parameters

listener

The listener for displaying native ads


open fun withNativeAd(@NonNull options: GfpNativeAdOptions, @NonNull listener: GfpNativeAd.OnNativeAdLoadedListener): T

Registers a listener to handle GfpNativeAd. The GfpNativeAd should be shown in GfpNativeAdView.

Return

The builder instance

Parameters

options

The options for native ads

listener

The listener for displaying native ads