Builder
class Builder
Builder for GfpNativeAdOptions instances.
Functions
Link copied to clipboard
Returns a new GfpNativeAdOptions
Link copied to clipboard
fun setActivateObservingOnBackground(activateObservingOnBackground: Boolean): <Error class: unknown class>
Sets whether to allow impression measurement of views even if the ad is rendered while the app is in the background.
Link copied to clipboard
Sets the ad choices placement.
Link copied to clipboard
Sets whether to preload image assets (icon and extraImage) excluding media before rendering the ad. When enabled, image assets will be preloaded for better rendering performance.
Link copied to clipboard
Sets whether to blur the background of a mediaView or not.
Link copied to clipboard
Sets whether the native ad has media view.
Link copied to clipboard
fun setMediaViewLazyLoading(options: MediaViewLazyLoadingOptions, listener: MediaViewLazyLoadingListener? = null): <Error class: unknown class>
Sets options and listener to enable the media view lazy loading feature.
Link copied to clipboard
Sets the rich media padding.
Link copied to clipboard
Sets lazy loading options for media views placed within slots.
Link copied to clipboard
Sets the GfpNativeVideoOptions.