Interface IHomaBellyAds
- Namespace
- HomaGames.HomaBelly
- Assembly
- HomaGames.HomaBelly.Core.dll
public interface IHomaBellyAds
Methods
DestroyBanner(string)
[Obsolete("Use 'HomaBelly.Ads.Banner.DestroyAd' instead.")]
void DestroyBanner(string placementId = null)
Parameters
placementId string
GetAllDisplayedBannerData()
[Obsolete("Use 'HomaBelly.Ads.Banner.AdStyle' instead.")]
List<BannerData> GetAllDisplayedBannerData()
Returns
- List<BannerData>
GetBannerHeight(string)
[Obsolete("Use 'HomaBelly.Ads.Banner.GetAdRect' instead.")]
int GetBannerHeight(string placementId = null)
Parameters
placementId string
Returns
- int
HideBanner(string)
[Obsolete("Use 'HomaBelly.Ads.Banner.HideAd' instead.")]
void HideBanner(string placementId = null)
Parameters
placementId string
IsHighValueInterstitialAvailable()
[Obsolete("Use 'HomaBelly.Ads.Interstitial.IsHighValueAdAvailable' instead.")]
bool IsHighValueInterstitialAvailable()
Returns
- bool
IsHighValueRewardedVideoAdAvailable()
[Obsolete("Use 'HomaBelly.Ads.Rewarded.IsHighValueAdAvailable' instead.")]
bool IsHighValueRewardedVideoAdAvailable()
Returns
- bool
IsInterstitialAvailable(string)
[Obsolete("Use 'HomaBelly.Ads.Interstitial.IsAdAvailable' instead.")]
bool IsInterstitialAvailable(string placementId = null)
Parameters
placementId string
Returns
- bool
IsRewardedVideoAdAvailable(string)
[Obsolete("Use 'HomaBelly.Ads.Rewarded.IsAdAvailable' instead.")]
bool IsRewardedVideoAdAvailable(string placementId = null)
Parameters
placementId string
Returns
- bool
LoadBanner(BannerPosition)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead.")]
void LoadBanner(BannerPosition position)
Parameters
position BannerPosition
LoadBanner(BannerPosition, string)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadBanner(BannerPosition position, string placementId)
Parameters
position BannerPosition
placementId string
LoadBanner(BannerSize)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead.")]
void LoadBanner(BannerSize size)
Parameters
size BannerSize
LoadBanner(BannerSize, BannerPosition, string, Color)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadBanner(BannerSize size, BannerPosition position, string placementId = null, Color bannerBackgroundColor = default)
Parameters
size BannerSize
position BannerPosition
placementId string
bannerBackgroundColor Color
LoadBanner(BannerSize, string)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadBanner(BannerSize size, string placementId)
Parameters
size BannerSize
placementId string
LoadBanner(string)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadBanner(string placementId)
Parameters
placementId string
LoadBanner(Color)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead.")]
void LoadBanner(Color bannerBackgroundColor)
Parameters
bannerBackgroundColor Color
LoadBanner(Color, string)
[Obsolete("Use 'HomaBelly.Ads.Banner.LoadAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadBanner(Color bannerBackgroundColor, string placementId)
Parameters
bannerBackgroundColor Color
placementId string
[Obsolete("Manual ad loading for interstitial ads is no longer supported. Use 'HomaBelly.Ads.Interstitial' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadExtraInterstitial(string placementId)
Parameters
placementId string
[Obsolete("Manual ad loading for rewarded ads is no longer supported. Use 'HomaBelly.Ads.Rewarded' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void LoadExtraRewardedVideoAd(string placementId)
Parameters
placementId string
LoadHighValueInterstitial()
[Obsolete("Use 'HomaBelly.Ads.Interstitial' instead. High value ads are now loaded when available. ")]
void LoadHighValueInterstitial()
LoadHighValueRewardedVideoAd()
[Obsolete("Manual ad loading for rewarded ads is no longer supported. High value ads are now loaded when available. Use 'HomaBelly.Ads.Rewarded' instead.")]
void LoadHighValueRewardedVideoAd()
SetBannerBackgroundColor(Color, string)
[Obsolete("Use 'HomaBelly.Ads.Banner.SetAdStyle' instead.")]
void SetBannerBackgroundColor(Color color, string placementId = null)
Parameters
color Color
placementId string
SetBannerPosition(BannerPosition, string)
[Obsolete("Use 'HomaBelly.Ads.Banner.SetAdStyle' instead.")]
void SetBannerPosition(BannerPosition position, string placementId = null)
Parameters
position BannerPosition
placementId string
ShowBanner(string)
[Obsolete("Use 'HomaBelly.Ads.Banner.ShowAd' instead.Check SDK documentation to learn how to add new ad unit ids to the game.")]
void ShowBanner(string placementId = null)
Parameters
placementId string
ShowHighValueInterstitial(string)
[Obsolete("Use 'HomaBelly.Ads.Interstitial.ShowAd' instead.")]
void ShowHighValueInterstitial(string placementName)
Parameters
placementName string
ShowHighValueRewardedVideoAd(string)
[Obsolete("Use 'HomaBelly.Ads.Rewarded.ShowAd' instead. High value ads are now shown when available.")]
void ShowHighValueRewardedVideoAd(string placementName)
Parameters
placementName string
ShowInterstitial(string, string)
[Obsolete("Use 'HomaBelly.Ads.Interstitial.ShowAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void ShowInterstitial(string placementName, string placementId = null)
Parameters
placementName string
placementId string
ShowRewardedVideoAd(string, string)
[Obsolete("Use 'HomaBelly.Ads.Rewarded.ShowAd' instead. Check SDK documentation to learn how to add new ad unit ids to the game.")]
void ShowRewardedVideoAd(string placementName, string placementId = null)
Parameters
placementName string
placementId string