Package com.brightcove.ssai.ui
Class AdOverlayConfig.Builder
java.lang.Object
com.brightcove.ssai.ui.AdOverlayConfig.Builder
- Enclosing class:
- AdOverlayConfig
The AdOverlayConfig.Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theAdOverlayConfig
object.setNumberOfRemainingAdsEnabled
(boolean numberOfRemainingAdsEnabled) Enables or disables the Ad Overlay component showing the number of remaining AdssetRemainingAdBreakDurationEnabled
(boolean remainingAdBreakDurationEnabled) Enables or disables the Ad Overlay component showing the remaining ad break duration.setRemainingAdDurationEnabled
(boolean remainingAdDurationEnabled) Enables or disables the Ad Overlay component showing the remaining ad duration.
-
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
Enables or disables the Ad Overlay component showing the remaining ad duration.- Parameters:
remainingAdDurationEnabled
- true to enable UI component- Returns:
- this Builder
-
setNumberOfRemainingAdsEnabled
Enables or disables the Ad Overlay component showing the number of remaining Ads- Parameters:
numberOfRemainingAdsEnabled
- true to enable UI component- Returns:
- this Builder
-
build
Builds theAdOverlayConfig
object.- Returns:
- the AdOverlayConfig
-