Skip to content

Android Rewarded Video Advanced Usage

Aleksandr Chatsky edited this page Jan 4, 2019 · 2 revisions

If you are looking for a usage that gives you more control about the performance optimization, you can use methods below:

N.B: If you want to use advanced usage, do NOT enable auto-loading for that format.

1. Load the rewarded video

Load the ad by calling:

AMRewardedVideo.load(activity);

2. Check if rewarded video is loaded

You can check the ad availability by calling:

if (AMRewardedVideo.isReady()) {
    // rewarded video is ready
} else {
    // rewarded video is NOT ready
}

3. Display the rewarded video

You can display the rewarded video by calling:

AMRewardedVideo.show(activity);
Clone this wiki locally