AdropInterstitialAdDelegate

protocol AdropInterstitialAdDelegate {
    @objc func onAdReceived(_ ad: AdropInterstitialAd)
    @objc func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)
    
    @objc optional func onAdImpression(_ ad: AdropInterstitialAd)
    @objc optional func onAdClicked(_ ad: AdropInterstitialAd)
    
    @objc optional func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)
}

Delegate called when there is a change in the AdropInterstitialAd.


Public functions

func onAdReceived(_ ad: AdropInterstitialAd)

func onAdReceived(_ ad: AdropInterstitialAd)

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

func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

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

func onAdClicked(_ ad: AdropInterstitialAd)

func onAdClicked(_ ad: AdropInterstitialAd)

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

func onAdImpression(_ ad: AdropInterstitialAd)

func onAdClicked(_ ad: AdropInterstitialAd)

This method gets invoked in the UI thread when the AdropInterstitialAd is impressed.

func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)

func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)

This method gets invoked in the UI thread when the AdropInterstitialAd will be presented full screen.

func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)

func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)

This method gets invoked in the UI thread when the AdropInterstitialAd is presented full screen.

func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)

func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)

This method gets invoked in the UI thread when the AdropInterstitialAd will be dismissed full screen.

func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)

func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)

This method gets invoked in the UI thread when the AdropInterstitialAd is dismissed full screen.

func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

This method gets invoked in the UI thread when the AdropInterstitialAd fails to show full screen.

Last updated