Interface IBannerAds
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
Events
Provides access to the events related to banner advertisements.
IBannerAdEvents Events { get; }
Property Value
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
placementNamestringName used for reporting and targeting.
ShowAd()
Displays a banner ad.
void ShowAd()