Example #1
0
        public Task LoadVideo() => Thread.UI.Run(() =>
        {
            if (string.IsNullOrEmpty(PlacementId))
            {
                OnAdFailed.Raise("The PlacementId of the RewardedVideoAd has not specified!");
                return;
            }

            RewardedVideo          = new ads.RewardedVideoAd(PlacementId);
            RewardedVideo.Delegate = new RewardedVideoListener(this);
            RewardedVideo.LoadAd();
        });
Example #2
0
 public void RewardedVideoAdVideoComplete(ads.RewardedVideoAd ad) => Ad.OnAdVideoCompleted.Raise();
Example #3
0
 public void RewardedVideoAdDidClose(ads.RewardedVideoAd ad) => Ad.OnAdClosed.Raise();
Example #4
0
 public void OnError(ads.RewardedVideoAd ad, NSError error) => Ad.OnAdFailed.Raise("An error occured in the RewardedVideoAd");
Example #5
0
 public void RewardedVideoAdDidLoad(ads.RewardedVideoAd ad) => Ad.OnAdLoaded.Raise();