NativeAdLoaderDelegate
@objc(YMANativeAdLoaderDelegate)
public protocol NativeAdLoaderDelegate : NSObjectProtocolThe protocol defines the methods of a delegate that monitors the ad loading process.
Remark
The methods are invoked by an object of theNativeAdLoader class.
- 
                  
                  Notifies that a native ad is loaded. DeclarationSwift @objc(nativeAdLoader:didLoadAd:) func nativeAdLoader(_ loader: NativeAdLoader, didLoad ad: NativeAd)ParametersloaderThe loader that sends the message. adNative ad that is loaded and ready to be displayed. 
- 
                  
                  Notifies that the ad failed to load. DeclarationSwift @objc(nativeAdLoader:didFailLoadingWithError:) func nativeAdLoader(_ loader: NativeAdLoader, didFailLoadingWithError error: Error)ParametersloaderThe loader that sends the message. errorInformation about the error (for details, see AdErrorCode)
