AdropNativeAdListener

interface AdropNativeAdListener

Listener called when there is a change in the AdropNativeAd.


Public functions

fun onAdReceived(ad: AdropNativeAd)

fun onAdReceived(ad: AdropNative)

This method gets invoked in the UI thread when the AdropNative receives an ad.

fun onAdClicked(ad: AdropNativeAd)

fun onAdClicked(ad: AdropNative)

This method gets invoked in the UI thread when the AdropNative is clicked.

fun onAdFailedToReceive(ad: AdropNativeAd, error: AdropErrorCode)

fun onAdFailedToReceive(ad: AdropNative, error: AdropErrorCode)

This method gets invoked in the UI thread when the AdropNative fails to receive an ad.

Last updated