GfpNativeAd

The GfpNativeAd represents ad metadata to allow you to construct custom ad views.

See also

GfpAdLoader

Types

Link copied to clipboard
Interface definition for a callback to be invoked when a native ad has successfully loaded.

Functions

Link copied to clipboard
abstract fun destroy()
Destroys the ad object.
Link copied to clipboard
Returns the GfpAdChoicesData associated with this ad.
Link copied to clipboard
Returns the GfpMediaData associated with this ad.
Link copied to clipboard
abstract fun getRenderType(): RenderType
Returns the RenderType.
Link copied to clipboard
abstract fun isAdInvalidated(): Boolean
Indicate whether the ad is still valid.
Link copied to clipboard
Returns 'true' if this ad can be muted programmatically, false otherwise.
Link copied to clipboard
abstract fun muteAd(feedback: AdMuteFeedback)
Mutes this ad programmatically.