Google is committed to advancing racial equity for Black communities. See how.

RewardedAdLoadCallback

public class RewardedAdLoadCallback extends Object

An object for receiving event notifications of loading a rewarded ad.

Public Constructor Summary

Public Method Summary

void
onRewardedAdFailedToLoad(LoadAdError adError)
Called when a rewarded ad request failed.
void
onRewardedAdFailedToLoad(int errorCode)
This method is deprecated. Use onRewardedAdFailedToLoad(LoadAdError) instead.
void
onRewardedAdLoaded()
A method called after a rewarded ad has been successfully loaded.

Inherited Method Summary

Public Constructors

public RewardedAdLoadCallback ()

Public Methods

public void onRewardedAdFailedToLoad (LoadAdError adError)

Called when a rewarded ad request failed.

Parameters
adError LoadAdError detailing the cause of the failure. getCode() is one of the error code constants defined in AdRequest.

public void onRewardedAdFailedToLoad (int errorCode)

This method is deprecated.
Use onRewardedAdFailedToLoad(LoadAdError) instead.

Called when a rewarded ad request failed. The error code is one of the error code constants defined in AdRequest.

public void onRewardedAdLoaded ()

A method called after a rewarded ad has been successfully loaded.