Interface PulseLiveSession


  • public interface PulseLiveSession
    • 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 - The PulseSessionExtensionListener that will be called when the session extension completes.
      • 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 PulseLiveAdBreak that was requested, if available.