Interface UM_IAdvertisement
A base client to interact advertisement.
Namespace: SA.CrossPlatform.Advertisement
Assembly: cs.temp.dll.dll
Syntax
public interface UM_IAdvertisement
Properties
IsReady
Indicates if banner ad is ready to be shown
Declaration
bool IsReady { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Load(Action<SA_Result>)
Load rewarded ads. Plugin will use rewarded ads id configured from the settings.
Declaration
void Load(Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<SA_Result> | callback | Callback with the load result. |
Load(String, Action<SA_Result>)
Load non-rewarded ads.
Declaration
void Load(string id, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Rewarded ads id from the ad provider dashboard. |
Action<SA_Result> | callback | Callback with the load result. |