com.adobe.mediacore.timeline.advertising
Class AdAsset

java.lang.Object
  extended by com.adobe.mediacore.timeline.advertising.AdAsset

public final class AdAsset
extends Object


Constructor Summary
AdAsset(int _id, long _duration, MediaResource _mediaResource, AdClick _adClick, Metadata _metadata)
           
 
Method Summary
 AdClick getAdClick()
           
 long getDuration()
           
 int getId()
           
 MediaResource getMediaResource()
           
 Metadata getMetadata()
           
static AdAsset newInstance(AdAsset adAsset)
          Creates a copy of AdClick object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdAsset

public AdAsset(int _id,
               long _duration,
               MediaResource _mediaResource,
               AdClick _adClick,
               Metadata _metadata)
Method Detail

getId

public int getId()
Returns:
The id for the asset provided by the ad server

getDuration

public long getDuration()
Returns:
The duration in milliseconds provided by the ad server

getMediaResource

public MediaResource getMediaResource()
Returns:
The MediaResource associated with the AdAsset

getAdClick

public AdClick getAdClick()
Returns:
The ClickThoughInfo that is provided by the ad server

getMetadata

public Metadata getMetadata()

newInstance

public static AdAsset newInstance(AdAsset adAsset)
Creates a copy of AdClick object

Parameters:
adAsset - Reference object
Returns:
Copy of AdAsset object