public static class AdOverlayConfig.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdOverlayConfig |
build()
Builds the
AdOverlayConfig object. |
AdOverlayConfig.Builder |
setNumberOfRemainingAdsEnabled(boolean numberOfRemainingAdsEnabled)
Enables or disables the Ad Overlay component showing the number of remaining Ads
|
AdOverlayConfig.Builder |
setRemainingAdBreakDurationEnabled(boolean remainingAdBreakDurationEnabled)
Enables or disables the Ad Overlay component showing the remaining ad break duration.
|
AdOverlayConfig.Builder |
setRemainingAdDurationEnabled(boolean remainingAdDurationEnabled)
Enables or disables the Ad Overlay component showing the remaining ad duration.
|
public AdOverlayConfig.Builder setRemainingAdBreakDurationEnabled(boolean remainingAdBreakDurationEnabled)
remainingAdBreakDurationEnabled
- true to enable UI componentpublic AdOverlayConfig.Builder setRemainingAdDurationEnabled(boolean remainingAdDurationEnabled)
remainingAdDurationEnabled
- true to enable UI componentpublic AdOverlayConfig.Builder setNumberOfRemainingAdsEnabled(boolean numberOfRemainingAdsEnabled)
numberOfRemainingAdsEnabled
- true to enable UI componentpublic AdOverlayConfig build()
AdOverlayConfig
object.