setNativeAd

fun setNativeAd(nativeAd: GfpNativeAd)

Assigns GfpNativeAd to this view.

Parameters

nativeAd

an object which has meta information to render native ad. It comes from GfpNativeAd.OnNativeAdLoadedListener.

Throws

if assetsContainer, adChoicesView, nativeAd.getApi() is null.