Package com.ooyala.pulse
Interface PulseLiveSession
- 
public interface PulseLiveSession 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidextendSession(ContentMetadata contentMetadata, RequestSettings requestSettings, PulseSessionExtensionListener listener)Request additional ads for the ad session.PulseLiveAdBreakgetAdBreak(RequestSettings.AdBreakType breakType)Get access to a specific preroll or postroll ad break.PulseLiveAdBreakgetAdBreak(RequestSettings.AdBreakType breakType, float breakIndex)Get access to a specific midroll ad break. 
 - 
 
- 
- 
Method Detail
- 
extendSession
void extendSession(ContentMetadata contentMetadata, RequestSettings requestSettings, PulseSessionExtensionListener listener)
Request additional ads for the ad session.- Parameters:
 contentMetadata- Information about the content which a requested ad session is to be played with, as well as information targeting the desired campaign(s).requestSettings- Information about the environment in which the requested ad(s) will play.listener- ThePulseSessionExtensionListenerthat will be called when the session extension completes.
 
- 
getAdBreak
PulseLiveAdBreak getAdBreak(RequestSettings.AdBreakType breakType)
Get access to a specific preroll or postroll ad break.- Parameters:
 breakType- The type of ad break you want to get.- Returns:
 - The 
PulseLiveAdBreakthat was requested, if available. 
 
- 
getAdBreak
PulseLiveAdBreak getAdBreak(RequestSettings.AdBreakType breakType, float breakIndex)
Get access to a specific midroll ad break.- Parameters:
 breakType- The type of ad break you want to get.breakIndex- The index/position of a midroll break.- Returns:
 - The 
PulseLiveAdBreakthat was requested, if available. 
 
 - 
 
 -