public static interface InterstitialAd.InterstitialAdLoadConfigBuilder extends Ad.LoadConfigBuilder
Modifier and Type | Method and Description |
---|---|
InterstitialAd.InterstitialLoadAdConfig |
build()
Builds a
InterstitialAd.InterstitialLoadAdConfig that can be used to load an ad. |
InterstitialAd.InterstitialAdLoadConfigBuilder |
withAdListener(InterstitialAdListener adListener)
Sets an InterstitialAdListener to be notified on events in control lifecycle.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withBid(java.lang.String bidPayload)
Allow to loads an ad from the payload supplied with a bid.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withCacheFlags(java.util.EnumSet<CacheFlag> cacheFlags)
This method allows to set pre-caching for the ad.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withRewardData(RewardData rewardData)
Specifies RewardData for the ad.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withRewardedAdListener(RewardedAdListener rewardedAdListener)
Sets a RewardedAdListener to be notified on if user receives a reward.
|
InterstitialAd.InterstitialAdLoadConfigBuilder withAdListener(InterstitialAdListener adListener)
adListener
- the listenerInterstitialAd.InterstitialAdLoadConfigBuilder withRewardedAdListener(RewardedAdListener rewardedAdListener)
rewardedAdListener
- the listenerInterstitialAd.InterstitialAdLoadConfigBuilder withRewardData(RewardData rewardData)
rewardData
- reward data for the ad.InterstitialAd.InterstitialAdLoadConfigBuilder
InterstitialAd.InterstitialAdLoadConfigBuilder withBid(java.lang.String bidPayload)
withBid
in interface Ad.LoadConfigBuilder
bidPayload
- The payload supplied with the bidInterstitialAd.InterstitialAdLoadConfigBuilder
InterstitialAd.InterstitialAdLoadConfigBuilder withCacheFlags(java.util.EnumSet<CacheFlag> cacheFlags)
cacheFlags
- pre-cache options for the ad assets.InterstitialAd.InterstitialAdLoadConfigBuilder
InterstitialAd.InterstitialLoadAdConfig build()
InterstitialAd.InterstitialLoadAdConfig
that can be used to load an ad.build
in interface Ad.LoadConfigBuilder