Table of Contents

Interface IBannerAds

Namespace
Homa.Sdk.Ads
Assembly
HomaGames.HomaBelly.Core.dll

Homa SDK API for the Banner ad format.

public interface IBannerAds

Properties

AdStyle

Defines the visual style of the banner ad.

IBannerStyle AdStyle { get; }

Property Value

IBannerStyle

Events

Provides access to the events related to banner advertisements.

IBannerAdEvents Events { get; }

Property Value

IBannerAdEvents

Methods

DestroyAd()

Destroys the banner ad.

void DestroyAd()

GetAdRect()

Retrieves the screen rectangle where the banner ad is displayed.

RectInt GetAdRect()

Returns

RectInt

A RectInt structure representing the banner ad's position and size on the screen. Its origin should be the bottom-left corner of the screen.

HideAd()

Hides the banner ad.

void HideAd()

LoadAd(string)

Loads a banner ad based on the provided configuration.

void LoadAd(string placementName)

Parameters

placementName string

Name used for reporting and targeting.

ShowAd()

Displays a banner ad.

void ShowAd()