Package com.amazonaws.ivs.player
Class AdCreative
java.lang.Object
com.amazonaws.ivs.player.AdCreative
Represents an ad creative within an ad break.
Beta: This API may change in future releases.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the unique identifier for the ad break this creative belongs to.Returns the unique identifier for this creative.longReturns duration of the creative in milliseconds.Returns the optional metadata that provides additional context about the ad creative.intReturns 1-based index of this creative within the ad break.
-
Method Details
-
getAdBreakId
Returns the unique identifier for the ad break this creative belongs to. -
getAssetId
Returns the unique identifier for this creative. -
getPodIndex
public int getPodIndex()Returns 1-based index of this creative within the ad break. -
getDuration
public long getDuration()Returns duration of the creative in milliseconds. -
getMetadata
Returns the optional metadata that provides additional context about the ad creative.
-