GoogleMobileAds.Api.Reward
Describes a reward credited to a user for interacting with rewarded ads.
Summary
Inheritance
Inherits from: EventArgs
Public attributes
|
Amount
|
double
The reward amount.
|
Type
|
string
The type of the reward.
|
Public attributes
Public functions
Reward
Reward()
Reward
Reward(
Reward reward
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-07 UTC.
[null,null,["Last updated 2023-09-07 UTC."],[[["`GoogleMobileAds.Api.Reward` describes a reward given to a user for engaging with rewarded ads, containing information about the reward amount and type."],["It includes properties like `Amount` (a double representing the reward value) and `Type` (a string describing the reward type)."],["Developers can use this class to access reward details after a user interacts with a rewarded ad, such as the amount and type of reward earned."],["The class provides constructors to create a new `Reward` object, including one that copies data from an existing `Reward` instance."]]],["The `Reward` class, inheriting from `EventArgs`, represents a user's reward from ad interactions. It holds information about the reward through two public attributes: `Amount` (a double representing the reward value) and `Type` (a string specifying the reward type). The class provides two constructors: a default constructor and one that accepts an existing `Reward` object. These components define how the reward's value and kind are accessed and constructed.\n"]]