-
- All Implemented Interfaces:
public class AdsConfiguration
The AdsConfiguration API describes the configuration of the advertisement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
AdsConfiguration.Builder
The builder for the advertisement configuration.
-
Method Summary
Modifier and Type Method Description boolean
isShowCountdown()
Whether an advertisement duration countdown will be shown in the UI. AdPreloadType
isPreload()
The preload type of the ad, whether media files of mid- and postrolls are preloaded. -
-
Method Detail
-
isShowCountdown
boolean isShowCountdown()
Whether an advertisement duration countdown will be shown in the UI.
- This feature is only available for Google IMA.
Default: true
-
isPreload
AdPreloadType isPreload()
The preload type of the ad, whether media files of mid- and postrolls are preloaded.
- This feature is only available for Google IMA.
Default: MIDROLL_AND_POSTROLL
-
-
-
-