public GADBannerViewErrorEventArgs(GoogleAdMobAds.GADRequestError error)
 {
     this.Error = error;
 }
예제 #2
0
 public GADInterstitialDidFailToReceiveAdWithErrorEventArgs(GoogleAdMobAds.GADRequestError error)
 {
     this.Error = error;
 }
            public override void DidFailToReceiveAd(GoogleAdMobAds.GADBannerView view, GoogleAdMobAds.GADRequestError error)
            {
                EventHandler <GADBannerViewErrorEventArgs> handler = didFailToReceiveAd;

                if (handler != null)
                {
                    var args = new GADBannerViewErrorEventArgs(error);
                    handler(view, args);
                }
            }
예제 #4
0
            public override void DidFailToReceiveAd(GoogleAdMobAds.GADInterstitial sender, GoogleAdMobAds.GADRequestError error)
            {
                EventHandler <GADInterstitialDidFailToReceiveAdWithErrorEventArgs> handler = didFailToReceiveAd;

                if (handler != null)
                {
                    var args = new GADInterstitialDidFailToReceiveAdWithErrorEventArgs(error);
                    handler(sender, args);
                }
            }