InterstitialAdLoaderDelegate
@objc(YMAInterstitialAdLoaderDelegate)
public protocol InterstitialAdLoaderDelegate : NSObjectProtocol
Undocumented
-
Notifies that the ad loaded successfully.
Declaration
Swift
func interstitialAdLoader(_ adLoader: InterstitialAdLoader, didLoad interstitialAd: InterstitialAd)
Parameters
adLoader
A reference to an object of the
InterstitialAdLoader
class that invoked the method.interstitialAd
Interstitial ad that is loaded and ready to be displayed.
-
Notifies that the ad failed to load.
Declaration
Swift
func interstitialAdLoader(_ adLoader: InterstitialAdLoader, didFailToLoadWithError error: AdRequestError)
Parameters
adLoader
A reference to an object of the
InterstitialAdLoader
class that invoked the method.error
Information about the error (for details, see
AdErrorCode
).