public static void show(string position) { HZBannerAd.ShowWithOptions(new HZBannerShowOptions { Position = position }); }
/// <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); }
public static void showWithTag(string position, string tag) { HZBannerAd.ShowWithOptions(new HZBannerShowOptions { Position = position, Tag = tag }); }
/// <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); }