NativeTemplateAdView

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)
Link copied to clipboard
abstract fun onUserShowInterestChanged(showInterest: Boolean, nativeAssetProvider: NativeAssetProvider, renderingOptions: NativeTemplateAdView.RenderingOptions)

Called when the user shows interest in the ad.