Class AdOverlayConfig.Builder

java.lang.Object
com.brightcove.ssai.ui.AdOverlayConfig.Builder
Enclosing class:
AdOverlayConfig

public static class AdOverlayConfig.Builder extends Object
The AdOverlayConfig.Builder.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setRemainingAdBreakDurationEnabled

      public AdOverlayConfig.Builder setRemainingAdBreakDurationEnabled(boolean remainingAdBreakDurationEnabled)
      Enables or disables the Ad Overlay component showing the remaining ad break duration.
      Parameters:
      remainingAdBreakDurationEnabled - true to enable UI component
      Returns:
      this Builder
    • setRemainingAdDurationEnabled

      public AdOverlayConfig.Builder setRemainingAdDurationEnabled(boolean remainingAdDurationEnabled)
      Enables or disables the Ad Overlay component showing the remaining ad duration.
      Parameters:
      remainingAdDurationEnabled - true to enable UI component
      Returns:
      this Builder
    • setNumberOfRemainingAdsEnabled

      public AdOverlayConfig.Builder setNumberOfRemainingAdsEnabled(boolean numberOfRemainingAdsEnabled)
      Enables or disables the Ad Overlay component showing the number of remaining Ads
      Parameters:
      numberOfRemainingAdsEnabled - true to enable UI component
      Returns:
      this Builder
    • build

      public AdOverlayConfig build()
      Builds the AdOverlayConfig object.
      Returns:
      the AdOverlayConfig