Package com.amazonaws.ivs.player
Class AdTimeUpdate
java.lang.Object
com.amazonaws.ivs.player.AdTimeUpdate
Represents ad playback progress information.
Beta: This API may change in future releases.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongintint
-
Method Details
-
getAdBreakId
- Returns:
- unique identifier for the ad break
-
getAssetId
- Returns:
- unique identifier for the current creative
-
getBreakElapsed
public long getBreakElapsed()- Returns:
- elapsed time within the ad break in milliseconds
-
getBreakDuration
public long getBreakDuration()- Returns:
- total duration of the ad break in milliseconds
-
getCreativeElapsed
public long getCreativeElapsed()- Returns:
- elapsed time within the current creative in milliseconds
-
getCreativeDuration
public long getCreativeDuration()- Returns:
- total duration of the current creative in milliseconds
-
getPodIndex
public int getPodIndex()- Returns:
- 1-based index of the current creative within the ad break
-
getPodLength
public int getPodLength()- Returns:
- total number of creatives in the ad break
-