com.adobe.mediacore.timeline.advertising
Interface AdBreakPolicySelector


public interface AdBreakPolicySelector


Method Summary
 AdBreakPolicy selectPolicyFor(AdBreak adBreak, PlacementInformation placementInformation)
          Select policy for the provided ad break.
 

Method Detail

selectPolicyFor

AdBreakPolicy selectPolicyFor(AdBreak adBreak,
                              PlacementInformation placementInformation)
Select policy for the provided ad break. The policy will instruct the media player on how to proceed after the ad break has been viewed by the user. Note: The P-SDK considers an ad break as being view when the content is changed during playback. This change can occur due to a seek (if the application allows the user to perform this operation) or due to ad break playback complete. The application can choose to either: - keep the ad break on the timeline - remove the ad break from the timeline - remove the ad break and restore main content (for live items)

Returns:
The desired ad policy