public interface

MaxRewardedAdListener

implements MaxAdListener
com.applovin.mediation.MaxRewardedAdListener

Class Overview

This interface defines a listener intended to be notified when a user watches a rewarded video and whether a reward was granted or rejected.

Summary

Public Methods
abstract void onRewardedVideoCompleted(MaxAd ad)
This method will be invoked when rewarded video has completed.
abstract void onRewardedVideoStarted(MaxAd ad)
This method will be invoked when rewarded video has started.
abstract void onUserRewarded(MaxAd ad, MaxReward reward)
This method will be invoked when a user should be granted a reward.
[Expand]
Inherited Methods
From interface com.applovin.mediation.MaxAdListener

Public Methods

public abstract void onRewardedVideoCompleted (MaxAd ad)

This method will be invoked when rewarded video has completed.

Parameters
ad An ad for which the video was completed. Guaranteed not to be null.

public abstract void onRewardedVideoStarted (MaxAd ad)

This method will be invoked when rewarded video has started.

Parameters
ad An ad for which the video was started. Guaranteed not to be null.

public abstract void onUserRewarded (MaxAd ad, MaxReward reward)

This method will be invoked when a user should be granted a reward.

Parameters
ad Ad for which reward ad was rewarded for. Guaranteed not to be null.
reward The reward to be granted to the user. Guaranteed not to be null.