Class AdColonyReward

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRewardAmount

        public int getRewardAmount()
        Used to retrieve the integer amount of the reward.
        Returns:
        the integer amount of the reward. Will return 0 if success() returns false.
      • getRewardName

        public java.lang.String getRewardName()
        Used to retrieve the name of the reward currency.
        Returns:
        the String name of the reward currency. Will return the correct name even if success() returns false.
      • getZoneID

        public java.lang.String getZoneID()
        Used to retrieve the zone id that was used to eventually trigger this reward event.
        Returns:
        the zone id affiliated with this reward event.
      • success

        public boolean success()
        Used to retrieve information about whether or not the reward was successful.
        Returns:
        whether or not the user should be rewarded.