Package com.yandex.mobile.ads.rewarded
Class RewardedAdLoader
-
- All Implemented Interfaces:
@MainThread() public final class RewardedAdLoader
Full-screen rewarded ads.
-
-
Constructor Summary
Constructors Constructor Description RewardedAdLoader(Context context)
-
Method Summary
Modifier and Type Method Description final UnitsetAdLoadListener(RewardedAdLoadListener rewardedAdLoadListener)Sets an RewardedAdLoadListener. final UnitloadAd(AdRequestConfiguration adRequestConfiguration)Starts loading the ad by AdRequestConfiguration on a background thread. final UnitcancelLoading()Cancel active loading of the rewarded ads. -
-
Constructor Detail
-
RewardedAdLoader
RewardedAdLoader(Context context)
- Parameters:
context- The context through which can be accessible the current theme, resources, etc.
-
-
Method Detail
-
setAdLoadListener
final Unit setAdLoadListener(RewardedAdLoadListener rewardedAdLoadListener)
Sets an RewardedAdLoadListener.
- Parameters:
rewardedAdLoadListener- RewardedAdLoadListener.
-
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 rewarded ads.
-
-
-
-