iOS Verizon Ads SDK Standard Edition Documentation  1.8
Instance Methods | List of all members
<VASNativeAdFactoryDelegate> Protocol Reference

Protocol for receiving notifications from the VASNativeAdFactory. More...

#import <VASNativeAdFactory.h>

Inherits <NSObject-p>.

Instance Methods

(void) - nativeAdFactory:didFailWithError:
 Called when there is an error requesting a VASNativeAd. More...
 
(void) - nativeAdFactory:didLoadNativeAd:
 Called when the components for the VASNativeAd have been loaded. More...
 

Detailed Description

Protocol for receiving notifications from the VASNativeAdFactory.

Method Documentation

◆ nativeAdFactory:didFailWithError:()

- (void) nativeAdFactory: (VASNativeAdFactory *)  adFactory
didFailWithError: (nullable VASErrorInfo *)  errorInfo 

Called when there is an error requesting a VASNativeAd.

Called on an arbitrary background queue.

Parameters
adFactoryThe calling VASNativeAdFactory.
errorInfoA VASErrorInfo object containing details about the error.

◆ nativeAdFactory:didLoadNativeAd:()

- (void) nativeAdFactory: (VASNativeAdFactory *)  adFactory
didLoadNativeAd: (VASNativeAd *)  nativeAd 

Called when the components for the VASNativeAd have been loaded.

A new VASNativeAd instance will be provided as part of this callback.

Called on an arbitrary background queue, dispatch to the main queue for UI placement.

Parameters
adFactoryThe calling VASNativeAdFactory.
nativeAdThe VASNativeAd object that is ready to be displayed.