Class AdBreak

java.lang.Object
com.amazonaws.ivs.player.AdBreak

public final class AdBreak extends Object
Represents an ad break.

Beta: This API may change in future releases.

  • Method Details

    • getAdBreakId

      @NonNull public String getAdBreakId()
      Returns:
      unique identifier for this ad break
    • getRollType

      @NonNull public AdBreak.RollType getRollType()
      Returns:
      roll type of the ad break
    • getDuration

      public long getDuration()
      Returns:
      duration of the ad break in milliseconds
    • getPodLength

      public int getPodLength()
      Returns:
      number of creatives in this ad break