Пример #1
0
        public void Initialize()
        {
            if (NativeAd != null)
            {
                throw new InvalidOperationException("AdAgent.Initialize() should only be called once.");
            }

            NativeAd          = new ads.NativeAd(PlacementId);
            NativeAd.Delegate = new NativeAdListener(this);
        }
Пример #2
0
 public void NativeAdDidFail(ads.NativeAd ad, NSError error) => Agent.OnAdFailedToLoad("Ad Loading Failed");
Пример #3
0
 public void NativeAdDidLoad(ads.NativeAd ad) => Agent.OnNativeAdReady(new NativeAdInfo(ad));