GADAdReward.h 645 B

1234567891011121314151617181920212223
  1. //
  2. // GADAdReward.h
  3. // Google Mobile Ads SDK
  4. //
  5. // Copyright 2015 Google Inc. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface GADAdReward : NSObject
  9. /// Type of the reward.
  10. @property(nonatomic, readonly, copy) NSString *type;
  11. /// Amount rewarded to the user.
  12. @property(nonatomic, readonly, copy) NSDecimalNumber *amount;
  13. /// Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType
  14. /// and rewardAmount must not be nil.
  15. - (instancetype)initWithRewardType:(NSString *)rewardType
  16. rewardAmount:(NSDecimalNumber *)rewardAmount NS_DESIGNATED_INITIALIZER;
  17. @end