Class InterstitialAdLoader
-
- All Implemented Interfaces:
@MainThread() public final class InterstitialAdLoader
Full-screen interstitial ads.
-
-
Constructor Summary
Constructors Constructor Description InterstitialAdLoader(Context context)
-
Method Summary
Modifier and Type Method Description final Unit
setAdLoadListener(InterstitialAdLoadListener loadListener)
Sets an InterstitialAdLoadListener. final Unit
loadAd(AdRequestConfiguration adRequestConfiguration)
Starts loading the ad by AdRequestConfiguration on a background thread. final Unit
cancelLoading()
Cancel active loading of the interstitial ads. -
-
Constructor Detail
-
InterstitialAdLoader
InterstitialAdLoader(Context context)
- Parameters:
context
- The context through which can be accessible the current theme, resources, etc.
-
-
Method Detail
-
setAdLoadListener
final Unit setAdLoadListener(InterstitialAdLoadListener loadListener)
Sets an InterstitialAdLoadListener.
- Parameters:
loadListener
- InterstitialAdLoadListener.
-
loadAd
final Unit loadAd(AdRequestConfiguration adRequestConfiguration)
Starts loading the ad by AdRequestConfiguration on a background thread.
- Parameters:
adRequestConfiguration
- AdRequestConfiguration
-
cancelLoading
final Unit cancelLoading()
Cancel active loading of the interstitial ads.
-
-
-
-