public class AdColonyReward
extends java.lang.Object
AdColonyRewardListener.onReward(AdColonyReward)
. Query this
object for information about the reward event such as amount, name, and affiliated zone id.AdColonyRewardListener
Modifier and Type | Method and Description |
---|---|
int |
getRewardAmount()
Used to retrieve the integer amount of the reward.
|
java.lang.String |
getRewardName()
Used to retrieve the name of the reward currency.
|
java.lang.String |
getZoneID()
Used to retrieve the zone id that was used to eventually trigger this reward event.
|
boolean |
success()
Used to retrieve information about whether or not the reward was successful.
|
public int getRewardAmount()
success()
returns false.public java.lang.String getRewardName()
public java.lang.String getZoneID()
public boolean success()