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 the unique identifier for this ad break.
    • getRollType

      @NonNull public AdBreak.RollType 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

      @NonNull public AdBreakMetadata getMetadata()
      Returns the optional metadata that provides additional context about the ad break.