Timeline advertising classes

These classes provide information about ads that occur within a timeline.

Name Description
Ad Class that defines the Ad abstraction and holds all ad information. It is defined by a unique ID, a duration, and a MediaResource. The MediaResource contains the URL where the actual ad content resides.
AdAsset Class that represents an asset to be displayed.
AdBreak Class that gives a unified view on several ads that will be played at some point during playback.
AdBreakPlacement Ad break placement operation class.
AdBreakPolicy Enumeration that defines values for whether an ad break is to remain on the timeline or be removed.
AdBreakPolicySelector Interface that instructs the media player how to proceed after the ad break has been viewed by the user.
AdClick Class that represents a click instance associated with an asset. This instance contains information about the click-through URL and the title that can be used to provide additional information to the user.
auditude.AuditudeAdProvider Deprecated. Use AuditudeResolver.
auditude.AuditudeResolverAuditudeAdResolver
auditude.AuditudeTracker Class.
ContentResolver Class that handles the ad-resolving part in the Ad Decisioning process.
ContentTracker Interface that defines the protocol that you must implement if you want to create an ad-tracking module that is designed to integrate with the PSDK library or a custom ad tracker.

This interface requires that you define the way ad-progress events are reported to the remote ad-tracking system.

PlacementInformation Class that abstracts a placement information request. Each resolved ad must have one placement information attached to it. The placement information describes where the ad is intended to be placed on the timeline. It contains information such as:
  • Placement position (in ms)
  • Type of the placement (pre-roll, mid-roll, or post-roll)
  • Duration of the main content chunk that is about to be replaced