Rewarded Video Ad Format
- Ads that provide in-app rewards (currency, features, content, etc.) in exchange for watching.
- Since users watch in exchange for rewards, video ads cannot be skipped and typically run for 30 seconds.

How It Works

Creating Instance and Setting Callbacks
Create aDaroRewardedAd instance and set up callbacks.
Reward Callback
TheonEarnedReward callback is triggered when the user watches the ad to completion and earns a reward. You can access the reward details through DaroRewardItem.
| Property | Description |
|---|---|
amount | Reward quantity |
type | Reward type |
Loading Ads
Callload() to load an ad.
Setting Custom Data
UsesetCustomData() to set custom data to be included in S2S (Server-to-Server) reward callbacks. This must be set before calling show().
Showing Ads
Check if the ad is ready withisReady(), then display it with show().
Releasing Resources
Calldestroy() to release resources when done.
Implementation Example
This is an example implementation of `DaroRewardedAd`.
This is an example implementation of `DaroRewardedAd`.

