Example #1
0
 public override void ShowInterstitial(string key = null)
 {
     if (IsLoadedInterstitial(key))
     {
         Chartboost.showInterstitial(CBLocation.Default);
         AdsMaster.OnDisplayAd(this, AdType.Interstitial);
     }
 }
Example #2
0
 public override void ShowReward()
 {
     if (IsRewardReady)
     {
         Chartboost.showRewardedVideo(CBLocation.Default);
         AdsMaster.OnDisplayAd(this, AdType.Rewarded);
     }
 }
Example #3
0
 public override void ShowReward()
 {
     if (IsRewardReady)
     {
         var options = new ShowOptions {
             resultCallback = HandleShowResultReward
         };
         AdsMaster.OnDisplayAd(this, AdType.Rewarded);
         Advertisement.Show(RewardedPlacementId, options);
     }
 }
Example #4
0
 public override void ShowInterstitial(string key = null)
 {
     if (IsLoadedInterstitial())
     {
         AdsMaster.OnDisplayAd(this, AdType.Interstitial);
         var options = new ShowOptions {
             resultCallback = HandleShowResultInterstitial
         };
         Advertisement.Show(VideoPlacementId, options);
     }
 }