RewardedVideoAdListener typedef

void RewardedVideoAdListener (
  1. RewardedVideoAdEvent event,
  2. {String rewardType,
  3. int rewardAmount}
)

Signature for a RewardedVideoAd status change callback. The optional parameters are only used when the RewardedVideoAdEvent.rewarded event is sent, when they'll contain the reward amount and reward type that were configured for the AdMob ad unit when it was created. They will be null for all other events.

Implementation

typedef void RewardedVideoAdListener(RewardedVideoAdEvent event,
    {String rewardType, int rewardAmount});