Package com.yandex.mobile.ads.appopenad
Class AppOpenAdLoader
-
- All Implemented Interfaces:
@MainThread() public final class AppOpenAdLoader
Full-screen app open ads.
-
-
Constructor Summary
Constructors Constructor Description AppOpenAdLoader(Context context)
-
Method Summary
Modifier and Type Method Description final UnitsetAdLoadListener(AppOpenAdLoadListener appOpenAdLoadListener)Sets an AppOpenAdEventListener. final UnitloadAd(AdRequestConfiguration adRequestConfiguration)Starts loading the ad by AdRequestConfiguration on a background thread. final UnitcancelLoading()Cancel active loading of the app open ads. -
-
Constructor Detail
-
AppOpenAdLoader
AppOpenAdLoader(Context context)
- Parameters:
context- The activity context the view is running in, through which it can access the current theme, resources, etc.
-
-
Method Detail
-
setAdLoadListener
final Unit setAdLoadListener(AppOpenAdLoadListener appOpenAdLoadListener)
Sets an AppOpenAdEventListener.
- Parameters:
appOpenAdLoadListener- AppOpenAdEventListener.
-
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 app open ads.
-
-
-
-