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
IAdUnit.cs
1using System;
2
3namespace SCG.SpaceAdMobile
4{
8 public interface IAdUnit
9 {
13 AdType AdType { get; }
14
20 event Action OnShown;
21
25 bool Load();
26
31 bool CanShowAd();
32
36 void Show();
37
41 void Unload();
42 }
43}
bool Load()
Loads the ad.
void Unload()
Unloads the ad.
Action OnShown
Occurs when the ad unit is shown to the user. Subscribers can use this event to update dependent runt...
Definition IAdUnit.cs:20
bool CanShowAd()
Verifies if the ad is ready to be shown.
void Show()
Shows the ad.
AdType AdType
Gets the common advertising format exposed by this ad unit.
Definition IAdUnit.cs:13
Defines the basic operations required to manage an ad unit lifecycle.
Definition IAdUnit.cs:9