RewardedAdUnitDelegate
@objc
public protocol RewardedAdUnitDelegate : NSObjectProtocol
Protocol for interaction with the RewardedAdUnit All messages will be invoked on the main thread.
-
Called when an ad is loaded and ready for display
Declaration
Swift
@objc optional func rewardedAdDidReceiveAd(_ rewardedAd: RewardedAdUnit)
-
Called when user is able to receive a reward from the app
Declaration
Swift
@objc optional func rewardedAdUserDidEarnReward(_ rewardedAd: RewardedAdUnit)
-
Called when the load process fails to produce a viable ad
Declaration
Swift
@objc optional func rewardedAd(_ rewardedAd: RewardedAdUnit, didFailToReceiveAdWithError error: Error?)
-
Called when the interstitial view will be launched, as a result of show() method.
Declaration
Swift
@objc optional func rewardedAdWillPresentAd(_ rewardedAd: RewardedAdUnit)
-
Called when the interstial is dismissed by the user
Declaration
Swift
@objc optional func rewardedAdDidDismissAd(_ rewardedAd: RewardedAdUnit)
-
Called when an ad causes the sdk to leave the app
Declaration
Swift
@objc optional func rewardedAdWillLeaveApplication(_ rewardedAd: RewardedAdUnit)
-
Called when user clicked the ad
Declaration
Swift
@objc optional func rewardedAdDidClickAd(_ rewardedAd: RewardedAdUnit)