예제 #1
0
 public override void ShowInterstitial(string key = null)
 {
     if (IsLoadedInterstitial(key))
     {
         Chartboost.showInterstitial(CBLocation.Default);
         AdsMaster.OnDisplayAd(this, AdType.Interstitial);
     }
 }
예제 #2
0
 public override void ShowReward()
 {
     if (IsRewardReady)
     {
         Chartboost.showRewardedVideo(CBLocation.Default);
         AdsMaster.OnDisplayAd(this, AdType.Rewarded);
     }
 }
예제 #3
0
 public override void ShowReward()
 {
     if (IsRewardReady)
     {
         var options = new ShowOptions {
             resultCallback = HandleShowResultReward
         };
         AdsMaster.OnDisplayAd(this, AdType.Rewarded);
         Advertisement.Show(RewardedPlacementId, options);
     }
 }
예제 #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);
     }
 }