PWAdsVideoInterstitialDelegate Protocol Reference

Conforms to NSObject
Declared in PWAdsVideoInterstitial.h

Overview

A PWAdsVideoInterstitialDelegate is needed to receive callbacks about video ad status.

– videoInterstitialDidLoadAd:

Called when the adsLoader receives a video ad and is ready to play (required).

- (void)videoInterstitialDidLoadAd:(PWAdsVideoInterstitial *)videoInterstitial

Parameters

videoInterstitial

The video ad that was loaded.

Discussion

Called when the adsLoader receives a video ad and is ready to play (required).

Declared In

PWAdsVideoInterstitial.h

– videoInterstitialDidFinishedPreCaching:

Called when the adsLoader finishes pre caching the video ad.

- (void)videoInterstitialDidFinishedPreCaching:(PWAdsVideoInterstitial *)videoInterstitial

Parameters

videoInterstitial

The video ad that was loaded.

Discussion

Called when the adsLoader finishes pre caching the video ad.

Declared In

PWAdsVideoInterstitial.h

– videoInterstitial:didFailError:

Called when a video interstitial fails to load ad.

- (void)videoInterstitial:(PWAdsVideoInterstitial *)videoInterstitial didFailError:(NSError *)error

Parameters

videoInterstitial

The video interstitial that failed to load ad.

error

The error string detailing why the video ad failed to play.

Discussion

Called when a video interstitial fails to load ad.

Declared In

PWAdsVideoInterstitial.h

– videoInterstitialDidPresentModal:

Called after video interstitial is presented.

- (void)videoInterstitialDidPresentModal:(PWAdsVideoInterstitial *)videoInterstitial

Parameters

videoInterstitial

The full-screen video ad that is presented.

Discussion

Called after video interstitial is presented.

Declared In

PWAdsVideoInterstitial.h

– videoInterstitialWillDismissModal:

Called before video interstitial dismisses video modal.

- (void)videoInterstitialWillDismissModal:(PWAdsVideoInterstitial *)videoInterstitial

Parameters

videoInterstitial

The video ad that finished playing.

Discussion

Called before video interstitial dismisses video modal.

Declared In

PWAdsVideoInterstitial.h

– videoInterstitialDidDismissModal:

Called after video interstitial dismisses video modal.

- (void)videoInterstitialDidDismissModal:(PWAdsVideoInterstitial *)videoInterstitial

Parameters

videoInterstitial

The video ad that finished playing.

Discussion

Called after video interstitial dismisses video modal.

Declared In

PWAdsVideoInterstitial.h