public final class MoPubReward
Represents a reward to the user for completing a rewarded task like watching a video.
public int /getAmount()
Description: Returns the amount associated with the current reward.
public String /getLabel()
Description: Returns the label associated with the current reward.
public static MoPubReward /success(String rewardLabel, int amount)
Description: Create a new
MoPubRewardwith the supplied label and amount. Typically used by mediation adapters to forward reward data defined on the mediation network’s dashboard to the MoPub SDK.
rewardLabel: The label for the reward to be created.
amount: The amount for the reward to be created.
Last updated February 11, 2020
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2020 MoPub (a division of Twitter, Inc.)