Class AdOverlayConfig.Builder

  • Enclosing class:
    AdOverlayConfig

    public static class AdOverlayConfig.Builder
    extends java.lang.Object
    The AdOverlayConfig.Builder.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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