The OOPulseManagerDelegate protocol provides a way for the OOPulseManager to communicate with the host application.
More...
#import <OOPulseManager.h>
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.
- (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
-
manager | The Pulse Manager which will create the session. |
video | The current video content. |
pulseHost | Your Pulse account host. |
contentMetadata | The content metadata. |
requestSettings | The 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
-
manager | The Pulse Manager from which this request originated. |
ad | The Ad for which the clickthrough URL must be opened. |
The documentation for this protocol was generated from the following file: