BCOVIMAPlaybackSessionDelegate Protocol Reference

Declared in BCOVIMAComponent.h

Overview

A delegate protocol for users of the Brightcove IMA advertising plugin.

– willCallIMAAdsLoaderRequestAdsWithRequest:forPosition:

Called immediately before the IMA Plugin calls IMAAdsLoader -requestAdsWithRequest: to allow the user to first modify the ads request object, for example, to change the vastLoadTimeout property. This method is optional.

- (void)willCallIMAAdsLoaderRequestAdsWithRequest:(IMAAdsRequest *)adsRequest forPosition:(NSTimeInterval)position

Discussion

Called immediately before the IMA Plugin calls IMAAdsLoader -requestAdsWithRequest: to allow the user to first modify the ads request object, for example, to change the vastLoadTimeout property. This method is optional.

Declared In

BCOVIMAComponent.h

– valuesForSpringServeMacroReplacement

Called prior to creating a IMAAdsRequest using an ad tag URL that contains SpringServe macros. Use this method to return an NSDictionary containing values that will replace the SpringServe macros in the ad tag URL. See BCOVSpringServeKeys.h for available keys. The IMA plugin will attempt to fill in values for keys that are not passed in.

- (NSDictionary *)valuesForSpringServeMacroReplacement

Discussion

Called prior to creating a IMAAdsRequest using an ad tag URL that contains SpringServe macros. Use this method to return an NSDictionary containing values that will replace the SpringServe macros in the ad tag URL. See BCOVSpringServeKeys.h for available keys. The IMA plugin will attempt to fill in values for keys that are not passed in.

Declared In

BCOVIMAComponent.h