示例#1
0
        public void LoadRewardedVideo(string adUnit, AdMobRewardedOptions options = null)
        {
            if (!CrossAdMob.Current.IsEnabled)
            {
                return;
            }

            if (_rewardedAd == null)
            {
                _rewardedAd = new RewardedAd(adUnit);
            }

            //RewardBasedVideoAd.SharedInstance.CustomRewardString = options?.CustomData;
            _rewardedAd.LoadRequest(GetRequest(), LoadCompletionHandler);
        }