AdropRewardedAdDelegate

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

Delegate called when there is a change in the AdropRewardedAd.


Public functions

func onAdReceived(_ ad: AdropRewardedAd)

func onAdReceived(_ ad: AdropRewardedAd)

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

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

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

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

func onAdClicked(_ ad: AdropRewardedAd)

func onAdClicked(_ ad: AdropRewardedAd)

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

func onAdImpression(_ ad: AdropRewardedAd)

func onAdClicked(_ ad: AdropRewardedAd)

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

func onAdWillPresentFullScreen(_ ad: AdropRewardedAd)

func onAdWillPresentFullScreen(_ ad: AdropRewardedAd)

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

func onAdDidPresentFullScreen(_ ad: AdropRewardedAd)

func onAdDidPresentFullScreen(_ ad: AdropRewardedAd)

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

func onAdWillDismissFullScreen(_ ad: AdropRewardedAd)

func onAdWillDismissFullScreen(_ ad: AdropRewardedAd)

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

func onAdDidDismissFullScreen(_ ad: AdropRewardedAd)

func onAdDidDismissFullScreen(_ ad: AdropRewardedAd)

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

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

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

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

Last updated