Native Template Ad View
Types
Link copied to clipboard
interface Factory
Factory interface for creating NativeTemplateAdView instances.
Link copied to clipboard
data class RenderingOptions(val visualKey: String?, val mediaData: GfpMediaData, val isDarkMode: Boolean)
The rendering options for the NativeTemplateAdView.
Functions
Link copied to clipboard
abstract fun bind(nativeAdView: GfpNativeAdView, nativeAssetProvider: NativeAssetProvider, renderingOptions: NativeTemplateAdView.RenderingOptions)
Binds the NativeAssetProvider to the NativeTemplateAdView.
Link copied to clipboard
abstract fun onUserShowInterestChanged(showInterest: Boolean, nativeAssetProvider: NativeAssetProvider, renderingOptions: NativeTemplateAdView.RenderingOptions)
Called when the user shows interest in the ad.