com.ooyala.android.pulseintegration.OoyalaPulseManager.Listener Interface Reference

The OoyalaPulseManager.Listener provides a way for the OoyalaPulseManager to communicate with the host application. More...

Public Member Functions

PulseSession createPulseSession (OoyalaPulseManager manager, Video video, String pulseHost, ContentMetadata contentMetadata, RequestSettings 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 openClickThrough (OoyalaPulseManager manager, PulseVideoAd ad)
 This method is called when the app should show the clickthrough link. More...
 

Detailed Description

The OoyalaPulseManager.Listener provides a way for the OoyalaPulseManager to communicate with the host application.

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

Member Function Documentation

PulseSession com.ooyala.android.pulseintegration.OoyalaPulseManager.Listener.createPulseSession ( OoyalaPulseManager  manager,
Video  video,
String  pulseHost,
ContentMetadata  contentMetadata,
RequestSettings  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 creates and uses the session.
videoThe current video content.
pulseHostYour Pulse account host.
contentMetadataThe content metadata object.
requestSettingsThe request settings object.
Returns
The newly created Pulse ad session.
void com.ooyala.android.pulseintegration.OoyalaPulseManager.Listener.openClickThrough ( OoyalaPulseManager  manager,
PulseVideoAd  ad 
)

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

The app must trigger PulseVideoAd.adClickThroughTriggered() to notify the session if the clickthrough link has been opened. You can obtain the URL to open with PulseVideoAd.getClickthroughURL().

Parameters
managerThe Pulse Manager from which this request originated
adThe Ad for which the clickthrough URL must be opened.