RewardedAdLoader
@objc(YMARewardedAdLoader)
@objcMembers
public class RewardedAdLoader : NSObject
This class is responsible for loading a rewarded ad.
-
Tracks ad lifecycle events.
Declaration
Swift
public weak var delegate: RewardedAdLoaderDelegate? { get set }
-
Undocumented
Declaration
Swift
override public convenience init()
-
Loads an ad with the specified targeting data.
Declaration
Swift
@objc(loadAdWithRequestConfiguration:) public func loadAd(with request: AdRequestConfiguration)
Parameters
request
Request configuration for targeting.
-
. Cancel the ad loading, that was launched in loadAdWithRequestConfiguration:requestConfiguration
Declaration
Swift
public func cancelLoading()