RewardedVideoAdListener

public interface RewardedVideoAdListener

A listener for receiving notifications during the lifecycle of a rewarded video ad.

Public Method Summary

abstract void
onRewarded(RewardItem reward)
Called when a rewarded video ad has triggered a reward.
abstract void
onRewardedVideoAdClosed()
Called when a rewarded video ad is closed.
abstract void
onRewardedVideoAdFailedToLoad(int errorCode)
Called when a rewarded video ad request failed.
abstract void
onRewardedVideoAdLeftApplication()
Called when a rewarded video ad leaves the application (e.g., to go to the browser).
abstract void
onRewardedVideoAdLoaded()
Called when a rewarded video ad is loaded.
abstract void
onRewardedVideoAdOpened()
Called when a rewarded video ad opens a overlay that covers the screen.
abstract void
onRewardedVideoStarted()
Called when a rewarded video ad starts to play.

Public Methods

public abstract void onRewarded (RewardItem reward)

Called when a rewarded video ad has triggered a reward. The app is responsible for crediting the user with the reward.

Parameters
reward the reward to grant the user. This value will never be null. If the ad does not specify a reward amount and no override is provided for this ad unit on the Admob UI the default reward will have an amount of 1 and a type of "".

public abstract void onRewardedVideoAdClosed ()

Called when a rewarded video ad is closed.

public abstract void onRewardedVideoAdFailedToLoad (int errorCode)

Called when a rewarded video ad request failed.

public abstract void onRewardedVideoAdLeftApplication ()

Called when a rewarded video ad leaves the application (e.g., to go to the browser).

public abstract void onRewardedVideoAdLoaded ()

Called when a rewarded video ad is loaded.

public abstract void onRewardedVideoAdOpened ()

Called when a rewarded video ad opens a overlay that covers the screen.

public abstract void onRewardedVideoStarted ()

Called when a rewarded video ad starts to play.

Send feedback about...

Need help? Visit our support page.