Esempio n. 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();
        });
Esempio n. 2
0
 public void RewardedVideoAdVideoComplete(ads.RewardedVideoAd ad) => Ad.OnAdVideoCompleted.Raise();
Esempio n. 3
0
 public void RewardedVideoAdDidClose(ads.RewardedVideoAd ad) => Ad.OnAdClosed.Raise();
Esempio n. 4
0
 public void OnError(ads.RewardedVideoAd ad, NSError error) => Ad.OnAdFailed.Raise("An error occured in the RewardedVideoAd");
Esempio n. 5
0
 public void RewardedVideoAdDidLoad(ads.RewardedVideoAd ad) => Ad.OnAdLoaded.Raise();