//Invoked when the user completed the video and should be rewarded. //If using server-to-server callbacks you may ignore this events and wait for the callback from the ironSource server. // //@param - placement - placement object which contains the reward data // void RewardedVideoAdRewardedEvent(IronSourcePlacement placement) { onAdEventInfo(new AdEventInfo() { adType = AdType.RewardedAd, eventType = AdEventType.REWARDED_AD_REWARDED }); var callbackData = new RewardedAdResultData(mCurrentPlacementName, true); doRewardedAdResultCallback(callbackData); }
private void doRewardedAdResultCallback(RewardedAdResultData resultData) { if (mOnRewardedAdResultCallback == null) { return; } var callback = mOnRewardedAdResultCallback; mOnRewardedAdResultCallback = null; callback(resultData); }