Beispiel #1
0
 /// <summary>
 /// Called when the showButton is clicked
 /// This function provides an example for calling the API method Interstitial.Show in order to show the ad received in the provided placement
 /// </summary>
 /// <param name="interstitialPlacementName">The name of placement to be displayed.</param>
 private void OnShowAdButtonClicked(String interstitialPlacementName)
 {
     Interstitial.Show(interstitialPlacementName);
     mUserInterfaceWrapper.resetAnimation();
 }
Beispiel #2
0
 /// <summary>
 /// Called when the destroyBannerButton is clicked
 /// This function provides an example for calling the API method Banner.destroy in order to destroy a banner placement
 /// </summary>
 /// <param name="bannerPlacementName">name of placement to be destroyed</param>
 private void OnDestroyBannerClicked(String bannerPlacementName)
 {
     Banner.Destroy(bannerPlacementName);
     mUserInterfaceWrapper.resetAnimation();
 }
Beispiel #3
0
 /// <summary>
 /// Called when the showButton is clicked
 /// This function provides an example for calling the API method Rewarded.Show in order to show the ad received in the provided placement
 /// </summary>
 /// <param name="rewardedPlacementName">name of placement to be displayed.</param>
 private void OnShowAdButtonClicked(String rewardedPlacementName)
 {
     Rewarded.Show(rewardedPlacementName);
     mUserInterfaceWrapper.resetAnimation();
 }