Пример #1
0
			public override void WillLeaveApplication (GoogleAdMobAds.GADBannerView adView)
			{
				EventHandler handler = willLeaveApplication;
				if (handler != null){
					handler (adView, EventArgs.Empty);
				}
			}
			public override void DidClickInAd (GoogleAdMobAds.GADCustomEventBanner customEvent, UIView view)
			{
				EventHandler<GADCustomEventBannerViewEventArgs> handler = didClickInAd;
				if (handler != null){
					var args = new GADCustomEventBannerViewEventArgs (view);
					handler (customEvent, args);
				}
			}
Пример #3
0
			public override void DidDismissScreen (GoogleAdMobAds.GADBannerView adView)
			{
				EventHandler handler = didDismissScreen;
				if (handler != null){
					handler (adView, EventArgs.Empty);
				}
			}
			public override void DidFailAd (GoogleAdMobAds.GADCustomEventInterstitial customEvent, NSError error)
			{
				EventHandler<GADCustomEventInterstitialErrorEventArgs> handler = didFailAd;
				if (handler != null){
					var args = new GADCustomEventInterstitialErrorEventArgs (error);
					handler (customEvent, args);
				}
			}
			public override void DidDismiss (GoogleAdMobAds.GADCustomEventInterstitial customEvent)
			{
				EventHandler handler = didDismiss;
				if (handler != null){
					handler (customEvent, EventArgs.Empty);
				}
			}
Пример #6
0
			public override void InterstitialDidReceiveAppEvent (GoogleAdMobAds.GADInterstitial interstitial, string name, string info)
			{
				EventHandler<GADAppEventDelegateInterstitialEventArgs> handler = interstitialDidReceiveAppEvent;
				if (handler != null){
					var args = new GADAppEventDelegateInterstitialEventArgs (name, info);
					handler (interstitial, args);
				}
			}
Пример #7
0
		public GADAdSizeDelegateSizeEventArgs (GoogleAdMobAds.GADAdSize size)
		{
			this.Size = size;
		}
Пример #8
0
			public override void WillPresentScreen (GoogleAdMobAds.GADInterstitial ad)
			{
				EventHandler handler = willPresentScreen;
				if (handler != null){
					handler (ad, EventArgs.Empty);
				}
			}
Пример #9
0
			public override void DidDismissScreen (GoogleAdMobAds.GADInterstitial ad)
			{
				EventHandler handler = didDismissScreen;
				if (handler != null){
					handler (ad, EventArgs.Empty);
				}
			}
Пример #10
0
			public override void DidReceiveAd (GoogleAdMobAds.GADInterstitial ad)
			{
				EventHandler handler = didReceiveAd;
				if (handler != null){
					handler (ad, EventArgs.Empty);
				}
			}
Пример #11
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);
				}
			}
			public override void DidDeactivateAd (GoogleAdMobAds.GADBannerView banner)
			{
				EventHandler handler = didDeactivateAd;
				if (handler != null){
					handler (banner, EventArgs.Empty);
				}
			}
			public override void DidDismissModal (GoogleAdMobAds.GADCustomEventBanner customEvent)
			{
				EventHandler handler = didDismissModal;
				if (handler != null){
					handler (customEvent, EventArgs.Empty);
				}
			}
			public override void WillPresentModal (GoogleAdMobAds.GADCustomEventBanner customEvent)
			{
				EventHandler handler = willPresentModal;
				if (handler != null){
					handler (customEvent, EventArgs.Empty);
				}
			}
Пример #15
0
		public GADBannerViewErrorEventArgs (GoogleAdMobAds.GADRequestError error)
		{
			this.Error = error;
		}
Пример #16
0
			public override void WillLeaveApplication (GoogleAdMobAds.GADInterstitial ad)
			{
				EventHandler handler = willLeaveApplication;
				if (handler != null){
					handler (ad, EventArgs.Empty);
				}
			}
Пример #17
0
			public override void AdViewDidReceiveAppEvent (GoogleAdMobAds.GADBannerView banner, string name, string info)
			{
				EventHandler<GADAppEventDelegateNameInfoEventArgs> handler = adViewDidReceiveAppEvent;
				if (handler != null){
					var args = new GADAppEventDelegateNameInfoEventArgs (name, info);
					handler (banner, args);
				}
			}
Пример #18
0
		public GADInterstitialDidFailToReceiveAdWithErrorEventArgs (GoogleAdMobAds.GADRequestError error)
		{
			this.Error = error;
		}
Пример #19
0
			public override void WillChangeAdSizeTo (GoogleAdMobAds.GADBannerView view, GoogleAdMobAds.GADAdSize size)
			{
				EventHandler<GADAdSizeDelegateSizeEventArgs> handler = willChangeAdSizeTo;
				if (handler != null){
					var args = new GADAdSizeDelegateSizeEventArgs (size);
					handler (view, args);
				}
			}
Пример #20
0
			public override void DidReceiveAd (GoogleAdMobAds.GADBannerView view)
			{
				EventHandler handler = didReceiveAd;
				if (handler != null){
					handler (view, EventArgs.Empty);
				}
			}
			public override void DidReceiveAd (GoogleAdMobAds.GADCustomEventInterstitial customEvent, NSObject ad)
			{
				EventHandler<GADCustomEventInterstitialAdEventArgs> handler = didReceiveAd;
				if (handler != null){
					var args = new GADCustomEventInterstitialAdEventArgs (ad);
					handler (customEvent, args);
				}
			}
Пример #22
0
			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);
				}
			}
			public override void WillPresent (GoogleAdMobAds.GADCustomEventInterstitial customEvent)
			{
				EventHandler handler = willPresent;
				if (handler != null){
					handler (customEvent, EventArgs.Empty);
				}
			}
Пример #24
0
			public override void WillPresentScreen (GoogleAdMobAds.GADBannerView adView)
			{
				EventHandler handler = willPresentScreen;
				if (handler != null){
					handler (adView, EventArgs.Empty);
				}
			}
			public override void WillLeaveApplication (GoogleAdMobAds.GADCustomEventInterstitial customEvent)
			{
				EventHandler handler = willLeaveApplication;
				if (handler != null){
					handler (customEvent, EventArgs.Empty);
				}
			}
			public override void DidFailAd (GoogleAdMobAds.GADCustomEventBanner customEvent, NSError error)
			{
				EventHandler<GADCustomEventBannerDidReceiveAdEventArgs> handler = didFailAd;
				if (handler != null){
					var args = new GADCustomEventBannerDidReceiveAdEventArgs (error);
					handler (customEvent, args);
				}
			}