com.adobe.mediacore.timeline.advertising
Class AdAsset
java.lang.Object
com.adobe.mediacore.timeline.advertising.AdAsset
public final class AdAsset
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdAsset
public AdAsset(int _id,
long _duration,
MediaResource _mediaResource,
AdClick _adClick,
Metadata _metadata)
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