BCOVPulsePlaybackSessionDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | BCOVPulseComponent.h |
Overview
A delegate protocol for users of the Brightcove Pulse advertising plugin. This delegate allows you to override the content metadata and request settings dynamically.
– createSessionForVideo:withPulseHost:contentMetadata:requestSettings:
required method
Called immediately before the Pulse Plugin calls [OOPulse startSessionWithDelegate:]
to allow the user to first modify the ads request object, for example, to change
the category property.
- (id<OOPulseSession>)createSessionForVideo:(BCOVVideo *)video withPulseHost:(NSString *)pulseHost contentMetadata:(OOContentMetadata *)contentMetadata requestSettings:(OORequestSettings *)requestSettings
Parameters
video |
The current video content. |
---|---|
pulseHost |
The Pulse hostname. |
contentMetadata |
The content metadata. |
requestSettings |
The request settings. |
Return Value
The newly created Pulse ad session.
Discussion
Called immediately before the Pulse Plugin calls [OOPulse startSessionWithDelegate:]
to allow the user to first modify the ads request object, for example, to change
the category property.
Declared In
BCOVPulseComponent.h