예제 #1
0
 public static void show(string position)
 {
     HZBannerAd.ShowWithOptions(new HZBannerShowOptions
     {
         Position = position
     });
 }
예제 #2
0
        /// <summary>
        /// Shows a banner ad with the given position and the default ad tag.
        /// </summary>
        /// <param name="position">A string describing the screen position to place the banner ad in; should be one of HZBannerShowOptions.POSITION_TOP or HZBannerShowOptions.POSITION_BOTTOM.</param>
        public static void show(string position)
        {
            HZBannerShowOptions showOptions = new HZBannerShowOptions();

            showOptions.Position = position;
            HZBannerAd.ShowWithOptions(showOptions);
        }
예제 #3
0
 public static void showWithTag(string position, string tag)
 {
     HZBannerAd.ShowWithOptions(new HZBannerShowOptions
     {
         Position = position,
         Tag      = tag
     });
 }
예제 #4
0
        /// <summary>
        /// Shows a banner ad with the given ad tag and position.
        /// </summary>
        /// <param name="position">A string describing the screen position to place the banner ad in; should be one of HZBannerShowOptions.POSITION_TOP or HZBannerShowOptions.POSITION_BOTTOM.</param>
        /// <param name="tag">The ad tag for the banner ad to be shown.</param>
        public static void showWithTag(string position, string tag)
        {
            HZBannerShowOptions showOptions = new HZBannerShowOptions();

            showOptions.Position = position;
            showOptions.Tag      = tag;
            HZBannerAd.ShowWithOptions(showOptions);
        }