firebase::gma::AdReward

#include <types.h>

Describes a reward credited to a user for interacting with a RewardedAd.

Summary

Constructors and Destructors

AdReward(const std::string & type, int64_t amount)
Creates an AdReward.

Public functions

amount() const
int64_t
Returns the reward amount.
type() const
const std::string &
Returns the type of the reward.

Public functions