Space Ad Mobile 9.5.1
Space Ad Mobile makes ads easy to add into your mobile game: one unified workflow for LevelPlay, AdMob, Yandex.Ads across banners, interstitials and rewarded.
Loading...
Searching...
No Matches
BannerInterfaces.cs
1using System;
2
3namespace SCG.SpaceAdMobile
4{
9 public interface IConcealableAd : IAdUnit
10 {
18 event Action OnHide;
19
23 void Hide();
24 }
25
31 public interface IBannerAd : IConcealableAd
32 {
36 bool IsVisible { get; }
37
43
49
55 }
56
62 public enum BannerAnchor
63 {
64 Top,
65 Bottom,
66 Left,
67 Right,
68 Center,
69 Custom
70 }
71}
Defines the basic operations required to manage an ad unit lifecycle.
Definition IAdUnit.cs:9
bool IsVisible
Gets a value indicating whether the banner is currently visible on screen.
float GetBannerWidthPixels()
Returns the current banner width in pixels.
BannerAnchor GetBannerAnchor()
Returns the current banner anchor used for screen placement.
float GetBannerHeightPixels()
Returns the current banner height in pixels.
Provides banner-specific layout data needed by UI offset helpers. Implementations expose current visi...
Action OnHide
Occurs when the advertisement is hidden or unloaded. This event provides a notification mechanism tha...
void Hide()
Hides the advertisement.
Provides a mechanism for hiding advertisements. This interface should be implemented by ads that can ...
BannerAnchor
Describes screen anchors used by banner ads. The value defines from which edge of the screen UI conte...