Space Ad Mobile 9.5.1
Space Ad Mobile makes ads easy to add into your mobile game: one unified workflow for LevelPlay, AdMob, Yandex.Ads across banners, interstitials and rewarded.
Loading...
Searching...
No Matches
AdRewardBase.cs
1namespace SCG.SpaceAdMobile
2{
15 public abstract class AdRewardBase
16 {
28 public abstract int Amount { get; }
29 // ReSharper disable once UnusedMemberInSuper.Global
42 public virtual double AmountAsDouble => Amount;
54 public abstract string Name { get; }
55 }
56}
virtual double AmountAsDouble
Amount exposed as a double for APIs that expect floating-point values.
int Amount
The numeric amount of the reward.
string Name
The semantic type or name of the reward.
Represents a backend-agnostic description of an ad reward.