YMAReward

Objective-C

@protocol YMAReward <NSObject>

Swift

protocol YMAReward : NSObjectProtocol

This protocol provides information about rewards for the user.

  1. Properties
  2. amount
  3. type

Properties

amount

The reward amount in any units.

Declaration

Objective-C

@property (nonatomic, readonly) NSInteger amount;

Swift

var amount: Int { get }

type

Type of reward.

Declaration

Objective-C

@property (nonatomic, copy, readonly) NSString *_Nonnull type;

Swift

var type: String { get }