NativeAdProvider

Provider interface for native ads. Each ad network implements this to load and display native ads.

Types

Link copied to clipboard

Callback for native ad events.

Properties

Link copied to clipboard
abstract val provider: AdProvider

The ad provider this implementation belongs to.

Functions

Link copied to clipboard
abstract fun destroy()

Release resources held by this provider.

Link copied to clipboard
abstract fun loadNativeAd(context: Context, adUnitId: String, callback: NativeAdProvider.NativeAdCallback, sizeHint: NativeAdSize = NativeAdSize.LARGE)

Load a native ad.