Builder
class Builder
Builder for GfpNativeAdOptions instances.
Functions
Link copied to clipboard
Returns a new GfpNativeAdOptions
Link copied to clipboard
fun setActivateObservingOnBackground(activateObservingOnBackground: Boolean): GfpNativeAdOptions.Builder
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 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): GfpNativeAdOptions.Builder
Sets options and listener to enable media view lazy loading feature. Currently media view lazy loading is only supported for IMAGE media type.
Link copied to clipboard
Sets the rich media padding.
Link copied to clipboard
Sets the GfpTheme.