AppOpenAdLoader
@objc(YMAAppOpenAdLoader)
@objcMembers
public final class AppOpenAdLoader : NSObject, @unchecked Sendable
This class is responsible for loading an app open ad.
-
Undocumented
Declaration
Swift
override public init() -
Loads an ad with the specified targeting data.
Declaration
Parameters
requestData for targeting and ad configuration.
completionThe completion handler to be called when the ad loading is finished.
-
Loads an ad with the specified targeting data.
Declaration
Parameters
requestData for targeting and ad configuration.
completionThe completion handler to be called when the ad loading is finished.
-
loadAd(with:Asynchronous) -
Cancel the ad loading, that was launched in loadAdWithAdUnitID:request
Declaration
Swift
public func cancelLoading()