GfpNativeAdOptionsBase

Base interface for native ad options configuration. Defines common options and settings for native ad display and behavior.

Inheritors

Properties

Link copied to clipboard
abstract val adChoicesPlacement: Int

The placement position for ad choices Uses values from GfpNativeAdOptions.AdChoicesPlacement.

Link copied to clipboard

Media view lazy loading listener.

Link copied to clipboard

Media view lazy loading options.

Link copied to clipboard

Padding values for rich media content in density-independent pixels (dp).

Link copied to clipboard

Media view lazy loading options for media views placed within slots.

Link copied to clipboard
abstract val theme: GfpTheme?

The theme to be applied to the native ad. Can be null if no specific theme is set.

Link copied to clipboard
abstract val videoOptions: GfpNativeVideoOptions

Video options configuration for native video ads.

Functions

Link copied to clipboard
abstract fun hasMediaView(): Boolean

Checks if the native ad includes a media view.

Link copied to clipboard

Checks if ad observation is activated when the app is in background.

Link copied to clipboard

Checks if custom ad choices display is enabled.

Link copied to clipboard

Checks if image assets preloading is enabled. When enabled, image assets (icon and extraImage) excluding media will be preloaded before rendering the ad.

Link copied to clipboard

Checks if media background blur effect is enabled.

Link copied to clipboard

Checks if media overlay dimming is enabled.

Link copied to clipboard

Checks if lazy loading is enabled for media view image. This option only works when the media type is IMAGE. For VIDEO media type, this option is ignored.