Skip to main content
Version: 16.5.2 (current)

Interface IAd

Declaration
public interface IAd

Properties

Enabled

Declaration
bool Enabled { get; }

IsLoaded

Declaration
bool IsLoaded { get; }

IsLoading

Declaration
bool IsLoading { get; }

IsShowing

Declaration
bool IsShowing { get; }

Data

Declaration
AdDTO Data { get; }

RevenueData

Declaration
AdRevenueDTO RevenueData { get; }

ErrorData

Declaration
AdErrorDTO ErrorData { get; }

Methods

Initialize()

Declaration
void Initialize()

Load()

Declaration
void Load()

Show(string)

Declaration
void Show(string adTag = null)
Parameters
TypeName
System.StringadTag

Events

FailedToLoad

Declaration
event Action FailedToLoad
Event Type

System.Action

Loaded

Declaration
event Action Loaded
Event Type

System.Action

LoadedStatusChanged

Declaration
event Action LoadedStatusChanged
Event Type

System.Action

Shown

Declaration
event Action<AdDTO> Shown
Event Type

System.Action<MatchinghamGames.VegasModule.AdDTO>

Clicked

Declaration
event Action Clicked
Event Type

System.Action

AdDataObtained

Declaration
event Action<AdDTO> AdDataObtained
Event Type

System.Action<MatchinghamGames.VegasModule.AdDTO>

RevenueDataObtained

Declaration
event Action<AdDTO, AdRevenueDTO> RevenueDataObtained
Event Type

System.Action<MatchinghamGames.VegasModule.AdDTO,MatchinghamGames.VegasModule.AdRevenueDTO>

ErrorDataObtained

Declaration
event Action<AdDTO, AdErrorDTO> ErrorDataObtained
Event Type

System.Action<MatchinghamGames.VegasModule.AdDTO,MatchinghamGames.VegasModule.AdErrorDTO>