Stay organized with collections Save and categorize content based on your preferences.

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

AdReward

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

Creates an AdReward.

amount

int64_t amount() const 

Returns the reward amount.

type

const std::string & type() const 

Returns the type of the reward.