SASReward

constructor(@NonNull currency: String, amount: Double)

Creates a SASReward instance.

Parameters

currency

the currency of the reward (e.g coins, lives, points...)

amount

the amount of currency to be rewarded.


constructor(@NonNull currency: String, amount: Double, @Nullable securedTransactionToken: String, rewardedVideoDuration: Long)

Creates a SASReward instance.

Parameters

currency

the currency of the reward (e.g coins, lives, points...)

amount

the amount of currency to be rewarded.

securedTransactionToken

the secured transaction returned by Smart servers.

rewardedVideoDuration

the duration of the video corresponding to this reward