Beispiel #1
0
 public void onAdmobEvent(string adtype, string eventName, string paramString)
 {
     if (adtype == "banner")
     {
         if (admobInstance.bannerEventHandler != null)
         {
             admobInstance.bannerEventHandler(eventName, paramString);
         }
     }
     else if (adtype == "interstitial")
     {
         if (admobInstance.interstitialEventHandler != null)
         {
             admobInstance.interstitialEventHandler(eventName, paramString);
         }
     }
     else if (adtype == "rewardedVideo")
     {
         if (admobInstance.rewardedVideoEventHandler != null)
         {
             admobInstance.rewardedVideoEventHandler(eventName, paramString);
         }
     }
     else if (adtype == "nativeBanner")
     {
         if (admobInstance.nativeBannerEventHandler != null)
         {
             admobInstance.nativeBannerEventHandler(eventName, paramString);
         }
     }
 }
Beispiel #2
0
 public void onAdmobEvent(string adtype, string eventName, string paramString)
 {
     if (adtype == "banner")
     {
         admobInstance.bannerEventHandler(eventName, paramString);
     }
     else if (adtype == "interstitial")
     {
         admobInstance.interstitialEventHandler(eventName, paramString);
     }
 }