<OOPulseManagerDelegate > Protocol Reference

The OOPulseManagerDelegate protocol provides a way for the OOPulseManager to communicate with the host application. More...

#import <OOPulseManager.h>

+ Inheritance diagram for <OOPulseManagerDelegate >:

Instance Methods

(id< OOPulseSession >) - pulseManager:createSessionForVideo:withPulseHost:contentMetadata:requestSettings:
 Requests the delegate to create a Pulse ad session, which contains information about all ads that should be played along with the current video content. More...
 
(void) - pulseManager:openClickThrough:
 This method is called when the app should show the clickthrough link. More...
 

Detailed Description

The OOPulseManagerDelegate protocol provides a way for the OOPulseManager to communicate with the host application.

This delegate allows you to override the content metadata and request settings from Ooyala Backlot dynamically, and customize your response to clickthrough events.

Method Documentation

- (id<OOPulseSession> OOPulseManagerDelegate) pulseManager: (OOPulseManager *)  manager
createSessionForVideo: (OOVideo *)  video
withPulseHost: (NSString *)  pulseHost
contentMetadata: (OOContentMetadata *)  contentMetadata
requestSettings: (OORequestSettings *)  requestSettings 

Requests the delegate to create a Pulse ad session, which contains information about all ads that should be played along with the current video content.

The content metadata and request settings are pre-populated with information from Backlot according to this scheme. The implementation may freely override any or all of these properties.

Parameters
managerThe Pulse Manager which will create the session.
videoThe current video content.
pulseHostYour Pulse account host.
contentMetadataThe content metadata.
requestSettingsThe request settings.
Returns
The newly created Pulse ad session.
- (void OOPulseManagerDelegate) pulseManager: (OOPulseManager *)  manager
openClickThrough: (id< OOPulseVideoAd >)  ad 
optional

This method is called when the app should show the clickthrough link.

The app must trigger OOPulseVideoAd.adClickThroughTriggered to notify the session if the clickthrough link has been opened. You can obtain the URL to open with OOPulseVideoAd.clickthroughURL

Note
If you leave this method unimplemented, the Pulse Manager automatically opens the clickthrough link when clicked using the default iOS browser.
Parameters
managerThe Pulse Manager from which this request originated.
adThe Ad for which the clickthrough URL must be opened.

The documentation for this protocol was generated from the following file: