public class AdsConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdsConfiguration.Builder
The builder for the advertisement configuration.
|
Modifier and Type | Method and Description |
---|---|
GoogleImaConfiguration |
googleImaConfiguration()
The
GoogleImaConfiguration of the Google Interactive Media Ads. |
AdPreloadType |
isPreload()
The preload type of the ad, whether media files of mid- and postrolls are preloaded.
|
boolean |
isShowCountdown()
Whether an advertisement duration countdown will be shown in the UI.
|
public boolean isShowCountdown()
- This feature is only available for Google IMA.
public AdPreloadType isPreload()
AdPreloadType
.- This feature is only available for Google IMA.
AdPreloadType.MIDROLL_AND_POSTROLL
public GoogleImaConfiguration googleImaConfiguration()
GoogleImaConfiguration
of the Google Interactive Media Ads. (Nullable)GoogleImaConfiguration
.