public void ShowAd(Demo demoPage) { //set the page as the parsed page from Forms originalPage = demoPage; LoadAd(); if (videoAd.IsLoaded) { videoAd.Show(); } }
public void OnRewardedVideoAdLoaded() { if (_rewardedVideoAd.IsLoaded) { _rewardedVideoAd.Show(); } }
public static bool Show() { if (!_inited) { Init(); return(false); } #if UNITY_EDITOR SA_EditorAd.OnVideoFinished += Editor_VideoFinished; SA_EditorAd.Instance.ShowVideo(); return(true); #else foreach (IRewardedVideoAd rewarded in _providers) { FreeProvider(_currentProvider); SelectProvider(rewarded); if (_currentProvider.Show()) { return(true); } } Load(); return(false); #endif }
public void ShowAd() { if (rewardedAd.IsLoaded) { rewardedAd.Show(); } //LoadAd(); }
public override void OnAdLoaded() { try { base.OnAdLoaded(); OnRewardedVideoAdLoaded(); if (Rad.IsLoaded) { Rad.Show(); } } catch (Exception exception) { Console.WriteLine(exception); } }
public void ShowRewardedVideo() { if (RewardedVideoAd.IsLoaded) { RewardedVideoAd.Show(); //Toast.MakeText(Android.App.Application.Context, MainPage.AdCoins.ToString(), ToastLength.Long).Show(); } LoadAd(); }
public override void OnAdLoaded() { try { base.OnAdLoaded(); OnRewardedVideoAdLoaded(); if (Rad.IsLoaded) { Rad.Show(); } } catch (Exception exception) { Crashes.TrackError(exception); } }
public void ShowRewardedVideo() { if (_rewardedAds != null && _rewardedAds.IsLoaded) { _rewardedAds.Show(); } else { Console.WriteLine("Rewarded Video not loaded"); } }
public void OnRewardedVideoAdLoaded() { try { if (Rad != null && Rad.IsLoaded) { Rad.Show(); } } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void OnRewardedVideoAdLoaded() { try { if (Rad != null && Rad.IsLoaded) { Rad.Show(); } } catch (Exception e) { Console.WriteLine(e); } }
public void ShowRewardedVideo() { if (!CrossMTAdmob.Current.IsEnabled) { return; } if (_rewardedAds != null && _rewardedAds.IsLoaded) { _rewardedAds.Show(); } else { Console.WriteLine("Rewarded Video not loaded"); } }
private void ShowAd() { if (App.InterstitialMode || App.PromoUser == 1) { if (_interstitialAd.IsLoaded) { _interstitialAd.Show(); } } else { if (_rewardedVideoAd.IsLoaded) { _rewardedVideoAd.Show(); } } }
public void OnRewardedVideoAdLoaded() { Console.WriteLine("OnRewardedVideoAdLoaded"); _rewardVideoAd.Show(); }
public void OnRewardedVideoAdLoaded() { rewardedVideoAd.Show(); }