|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.adobe.mediacore.timeline.advertising.Ad
public final class Ad
Method Summary | |
---|---|
static Ad |
cloneAd(Ad ad,
long duration,
int id)
|
static Ad |
createAd(MediaResource.Type type,
long duration,
int id,
AdAsset primaryAsset,
List<AdAsset> companionAssets,
ContentTracker contentTracker)
Creates a new ad instance. |
static Ad |
createCustomAdMarker(MediaResource.Type type,
long duration,
int id,
AdAsset primaryAdAsset)
|
boolean |
equals(Ad otherAd)
|
List<AdAsset> |
getCompanionAssets()
|
ContentTracker |
getContentTracker()
|
long |
getDuration()
|
int |
getId()
|
AdAsset |
getPrimaryAsset()
The primary asset represent the main asset of the ad. |
MediaResource.Type |
getType()
Ads types influence the playback timeline. |
boolean |
isClickable()
Verifies if that upon viewing the primary asset of an ad, the user can choose to be redirected to an provided url in the native web browser or within an in-app browser. |
boolean |
isCustomAdMarker()
|
String |
toString()
Returns a String representation of the current ad. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final AdAsset getPrimaryAsset()
public final List<AdAsset> getCompanionAssets()
public final MediaResource.Type getType()
public final long getDuration()
public int getId()
public boolean isCustomAdMarker()
public ContentTracker getContentTracker()
public static Ad createAd(MediaResource.Type type, long duration, int id, AdAsset primaryAsset, List<AdAsset> companionAssets, ContentTracker contentTracker)
type
- The media item type.duration
- The ad duration.id
- The ad id.contentTracker
-
public static Ad createCustomAdMarker(MediaResource.Type type, long duration, int id, AdAsset primaryAdAsset)
public static Ad cloneAd(Ad ad, long duration, int id)
public boolean equals(Ad otherAd)
public boolean isClickable()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |