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

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

#import <VASInterstitialAdFactory.h>

Inherits <NSObject-p>.

Instance Methods

(void) - interstitialAdFactory:cacheLoadedNumRequested:numReceived:
 Called when the cache request is complete. More...
 
(void) - interstitialAdFactory:cacheUpdatedWithCacheSize:
 Called when the number of ads in the cache has been modified. More...
 
(void) - interstitialAdFactory:didFailWithError:
 Called when there is an error requesting a VASInterstitialAd or loading a VASInterstitialAd from the cache. More...
 
(void) - interstitialAdFactory:didLoadInterstitialAd:
 Called when the VASInterstitialAd has been loaded. More...
 

Detailed Description

Protocol for receiving notifications from the VASInterstitialAdFactory.

Method Documentation

◆ interstitialAdFactory:cacheLoadedNumRequested:numReceived:()

- (void) interstitialAdFactory: (VASInterstitialAdFactory *)  adFactory
cacheLoadedNumRequested: (NSInteger numRequested
numReceived: (NSInteger numReceived 

Called when the cache request is complete.

Parameters
adFactoryThe calling VASInterstitialAdFactory.
numRequestedThe number of ads requested for the cache (i.e. the difference between the maximum number of ads for your cache and the ads already in the cache).
numReceivedThe number of ads received for the cache. This value may be less than the number requested if not all ads requested were available.

◆ interstitialAdFactory:cacheUpdatedWithCacheSize:()

- (void) interstitialAdFactory: (VASInterstitialAdFactory *)  adFactory
cacheUpdatedWithCacheSize: (NSInteger cacheSize 

Called when the number of ads in the cache has been modified.

This could mean that ads have been added to the cache or that an ad was removed from the cache for display.

Parameters
adFactoryThe calling VASInterstitialAdFactory.
cacheSizeThe new value of the cache. Represents the number of cached ads available.

◆ interstitialAdFactory:didFailWithError:()

- (void) interstitialAdFactory: (VASInterstitialAdFactory *)  adFactory
didFailWithError: (VASErrorInfo *)  errorInfo 

Called when there is an error requesting a VASInterstitialAd or loading a VASInterstitialAd from the cache.

Parameters
adFactoryThe calling VASInterstitialAdFactory.
errorInfoAn VASErrorInfo object containing details about the error.

◆ interstitialAdFactory:didLoadInterstitialAd:()

- (void) interstitialAdFactory: (VASInterstitialAdFactory *)  adFactory
didLoadInterstitialAd: (VASInterstitialAd *)  interstitialAd 

Called when the VASInterstitialAd has been loaded.

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

Parameters
adFactoryThe calling VASInterstitialAdFactory.
interstitialAdThe VASInterstitialAd object that is ready to be displayed.