Package com.amazonaws.ivs.player
Class AdBreak
java.lang.Object
com.amazonaws.ivs.player.AdBreak
Represents an ad break.
Beta: This API may change in future releases.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the unique identifier for this ad break.longReturns the duration of the ad break in milliseconds.Returns the optional metadata that provides additional context about the ad break.intReturns the number of creatives in this ad break.Returns the roll type of the ad break.
-
Method Details
-
getAdBreakId
Returns the unique identifier for this ad break. -
getRollType
Returns the roll type of the ad break. -
getDuration
public long getDuration()Returns the duration of the ad break in milliseconds. -
getPodLength
public int getPodLength()Returns the number of creatives in this ad break. -
getMetadata
Returns the optional metadata that provides additional context about the ad break.
-