YMAVideoAdLoaderDelegate Protocol Reference

Conforms to NSObject
Declared in YMAYandexVASTAds.h

Overview

The protocol defines the methods of a delegate that tracks the process of VAST ad block loading.

  1. Methods
    1. – loaderDidLoadVideoAds:
    2. – loaderDidFailLoadingVideoAdsWithError:

Methods

– loaderDidLoadVideoAds:

Called when the VAST ad block has been successfully loaded.

- (void)loaderDidLoadVideoAds:(NSArray *)ads

Parameters

ads

An array of YMAVASTAd objects that describe the VAST block.

– loaderDidFailLoadingVideoAdsWithError:

Called when the loading of the VAST ad block fails.

- (void)loaderDidFailLoadingVideoAdsWithError:(NSError *)error

Parameters

error

Error that occurred when loading ad blocks. The UserInfo dictionary may contain additional information, such as a server response, which is not recognized as XML (for details, see YMAYandexVASTAds).


Generated by appledoc 2.2.1 (build 1334).