Class RewardEventArgs
Reward Event Arguments.
Namespace: Unity.Services.Mediation
Syntax
public class RewardEventArgs : EventArgs
Constructors
RewardEventArgs(String, String)
Constructor for Arguments for Rewarded Event.
Declaration
public RewardEventArgs(string type, string amount)
Parameters
| Type | Name | Description |
|---|---|---|
| String | type | Type of Reward. |
| String | amount | Amount of Reward. |
Properties
Amount
Reward Amount for Rewarded Ad Event.
Declaration
public string Amount { get; }
Property Value
| Type | Description |
|---|---|
| String |
Type
Reward Type for Rewarded Ad Event.
Declaration
public string Type { get; }
Property Value
| Type | Description |
|---|---|
| String |