Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface OnUserEarnedRewardListener
Invoked when the user finished watching a
RewardedAd or
RewardedInterstitialAd and earned the configured reward. Delivered on the
Codename One EDT.Methods
public abstract void onUserEarnedReward(RewardItem reward) | Invoked once when the reward is earned. |
Method details
onUserEarnedReward
public abstract void onUserEarnedReward(RewardItem reward)Invoked once when the reward is earned.
Parameters
rewardRewardItem- the earned reward