-
public class AdOverlayConfig.Builder
The AdOverlayConfig.Builder.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
remainingAdBreakDurationEnabled
private boolean
remainingAdDurationEnabled
private boolean
numberOfRemainingAdsEnabled
-
Method Summary
Modifier and Type Method Description 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. AdOverlayConfig.Builder
setNumberOfRemainingAdsEnabled(boolean numberOfRemainingAdsEnabled)
Enables or disables the Ad Overlay component showing the number of remaining Ads AdOverlayConfig
build()
Builds the AdOverlayConfig object. -
-
Method Detail
-
setRemainingAdBreakDurationEnabled
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
-
setRemainingAdDurationEnabled
AdOverlayConfig.Builder setRemainingAdDurationEnabled(boolean remainingAdDurationEnabled)
Enables or disables the Ad Overlay component showing the remaining ad duration.
- Parameters:
remainingAdDurationEnabled
- true to enable UI component
-
setNumberOfRemainingAdsEnabled
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
-
build
AdOverlayConfig build()
Builds the AdOverlayConfig object.
-
-
-
-