Exemplo n.º 1
0
 public static void Ad_RewardedVideo(Context context)
 {
     try
     {
         if (AppSettings.Show_ADMOB_RewardVideo)
         {
             if (Count_RewardedVideo == AppSettings.Show_ADMOB_RewardedVideo_Count)
             {
                 Count_RewardedVideo = 0;
                 AdmobRewardedVideo ads = new AdmobRewardedVideo();
                 ads.ShowAd(context);
             }
             Count_RewardedVideo++;
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
Exemplo n.º 2
0
 public static void Ad_RewardedVideo(Context context)
 {
     try
     {
         if (Settings.Show_ADMOB_RewardVideo)
         {
             if (Count_RewardedVideo == Settings.Show_ADMOB_RewardedVideo_Count)
             {
                 Count_RewardedVideo = 0;
                 AdmobRewardedVideo ads = new AdmobRewardedVideo();
                 ads.ShowAd(context);
             }
             Count_RewardedVideo++;
         }
     }
     catch (Exception exception)
     {
         Crashes.TrackError(exception);
     }
 }