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