Class UnitBannerAd
Declaration
public class UnitBannerAd : IAdPartialScreen, IApplovinAd, IDisposable
Implements:
MatchinghamGames.VegasModule.Services.Applovin.Abstraction.IApplovinAd, System.IDisposable
Properties
Initialized
Declaration
public bool Initialized { get; }
Enabled
Declaration
public bool Enabled { get; }
IsLoaded
Declaration
public bool IsLoaded { get; }
IsLoading
Declaration
public bool IsLoading { get; }
IsShowing
Declaration
public bool IsShowing { get; }
Revenue
Declaration
public double Revenue { get; }
Data
Declaration
public AdDTO Data { get; }
RevenueData
Declaration
public AdRevenueDTO RevenueData { get; }
ErrorData
Declaration
public AdErrorDTO ErrorData { get; }
IsDestroyed
Declaration
public bool IsDestroyed { get; }
Fields
ExtraParameters
Declaration
public Dictionary<string, string> ExtraParameters
BannerUnitId
Declaration
public readonly string BannerUnitId
Methods
New(string)
Declaration
public static UnitBannerAd New(string bannerAdUnitId)
Returns
MatchinghamGames.VegasModule.Services.Applovin.UnitBannerAd
Parameters
Type | Name |
---|---|
System.String | bannerAdUnitId |
Initialize()
Declaration
public void Initialize()
BlockLoad()
Declaration
public void BlockLoad()
UnblockLoad()
Declaration
public void UnblockLoad()
Load()
Declaration
public void Load()
Show(string)
Declaration
public void Show(string adTag = null)
Parameters
Type | Name |
---|---|
System.String | adTag |
Hide()
Declaration
public void Hide()
Destroy()
Declaration
public void Destroy()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Events
FailedToLoad
Declaration
public event Action FailedToLoad
Event Type
System.Action
Loaded
Declaration
public event Action Loaded
Event Type
System.Action
LoadedStatusChanged
Declaration
public event Action LoadedStatusChanged
Event Type
System.Action
Shown
Declaration
public event Action<AdDTO> Shown
Event Type
System.Action<AdDTO>
Hidden
Declaration
public event Action Hidden
Event Type
System.Action
Destroyed
Declaration
public event Action Destroyed
Event Type
System.Action
Clicked
Declaration
public event Action Clicked
Event Type
System.Action
AdDataObtained
Declaration
public event Action<AdDTO> AdDataObtained
Event Type
System.Action<AdDTO>
RevenueDataObtained
Declaration
public event Action<AdDTO, AdRevenueDTO> RevenueDataObtained
Event Type
System.Action<AdDTO,AdRevenueDTO>
ErrorDataObtained
Declaration
public event Action<AdDTO, AdErrorDTO> ErrorDataObtained
Event Type
System.Action<AdDTO,AdErrorDTO>
Implements
- MatchinghamGames.VegasModule.Services.Applovin.Abstraction.IApplovinAd
System.IDisposable