Interface UM_iAdsClient
A client to interact with advertisements platform.
Namespace: SA.CrossPlatform.Advertisement
Assembly: cs.temp.dll.dll
Syntax
public interface UM_iAdsClient
Properties
Banner
A client to interact with banner advertisements functionality.
Declaration
UM_iBannerAds Banner { get; }
Property Value
Type | Description |
---|---|
UM_iBannerAds |
IsInitialized
Indicates if ads client was Initialized successfully.
Declaration
bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
NonRewardedAds
A client to interact with non-rewarded advertisements functionality.
Declaration
UM_iNonRewardedAds NonRewardedAds { get; }
Property Value
Type | Description |
---|---|
UM_iNonRewardedAds |
RewardedAds
A client to interact with rewarded advertisements functionality.
Declaration
UM_iRewardedAds RewardedAds { get; }
Property Value
Type | Description |
---|---|
UM_iRewardedAds |
Methods
Initialize(Action<SA_Result>)
Initialize the Ads client using the id specified in editor settings.
Declaration
void Initialize(Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<SA_Result> | callback | The result callback |
Initialize(String, Action<SA_Result>)
Initialize the Ads client.
Declaration
void Initialize(string appId, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | Your application / game id as configured inside service administration dashboard |
Action<SA_Result> | callback | The result callback |
SetUserId(String)
Set identifier for a specific user in the game.
Declaration
void SetUserId(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | A string to specify an identifier for a specific user in the game. |